cancel
Showing results for 
Search instead for 
Did you mean: 

refactor package

Former Member
0 Kudos

Hello,

I created an application but now i want to refactor a package name. I tried to rename it in the explorer view but that kinda messes it all up...it doesnt update all the references. Anyone knows how this can be done?

Much thanks,

Hugo Hendriks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hugo,

Try Right-click on package / Refactor... / Rename...

VS

Former Member
0 Kudos

When i try to do this in the implementation of a view...i get the message:

Operation unavailable on current selection. Select a java project, source folder, resource, <b>package</b>, compilation unit, type, field, method, parameter or a local variable.

Guess they have a different view of a package then me

Hugo

Former Member
0 Kudos

Hi

See this Thread

Kind Regards

Mukesh

Former Member
0 Kudos

Hugo,

In WD perspective you should be able to right-click on view in tree and rename the view.

In Java perspective you should be able to rename complete package (be ready to fix package names in WD XML files)

VS

Answers (1)

Answers (1)

Former Member
0 Kudos

Aaaah, ok, in the rename in the WD perspective you can also rename the package...great!

Thx