0

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?

David Wolever
  • 148,955
  • 89
  • 346
  • 502

2 Answers2

2

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

cwallenpoole
  • 79,954
  • 26
  • 128
  • 166
1

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.

Josh Tynjala
  • 5,235
  • 3
  • 23
  • 25