views:

70

answers:

2

I know that FlexBuiler's refactoring engine can deal with updating variable names… But I can't figure out if it's possible to refactor at the package level.

For example, I want to move foo/a.as to foo/bar/a.as, and I want the package path to be updated (ie, from package foo to package foo.bar) and references to be updated accordingly.

Does FlexBuilder support this sort of refactoring? Or am I just doing something wrong?

+2  A: 

No, it does not. Sorry. Your only option is to follow that with Ctrl-H, and swap out foo. with foo.bar.

Christopher W. Allen-Poole
+1  A: 

The upcoming Flash Builder 4 will support Move refactoring to move a class into a different package. A public beta is available on Adobe Labs.

joshtynjala