lital maatuk
lital maatuk

Reputation: 6249

I have no "refactoring" option in eclipse menu

I have just installed eclipse (indigo-web) on my computer.

I know that there is supposed to be a menu item called "refactoring" but it just isn't there.

Does anybody know how to add it?

Thanks a lot

Upvotes: 5

Views: 7055

Answers (3)

HellishHeat
HellishHeat

Reputation: 2491

This is symptomatic of your src folder not being on your build path. See the accepted answer of this question

Upvotes: 3

Moot
Moot

Reputation: 331

I have just had this same problem occur and it seems you must be in the Package Explorer view in order to execute many of the options in the Refactor menu and classes. Try this: click Window -> Show View -> select Package Explorer from the list and then open the Refactor menu from within that view.

Upvotes: 1

nulltoken
nulltoken

Reputation: 67609

From the Eclipse wiki article

In the Java perspective, a menu called Refactor is enabled. It contains all possible refactoring operations currently implemented by the JDT. All operations are listed, even though they may not be applicable to the current selection.

Some more from the Eclipse help site

Refactoring commands are available from the context menus of several Java views (e.g. Package Explorer, Outline) and editors.

Upvotes: 3

Related Questions