Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 303
lital maatuk Avatar asked Dec 05 '11 14:12

lital maatuk


2 Answers

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.

like image 121
nulltoken Avatar answered Oct 12 '22 09:10

nulltoken


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

like image 35
HellishHeat Avatar answered Oct 12 '22 09:10

HellishHeat