I do not have the option "refactoring" in the eclipse menu

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

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

Does anyone know how to add it?

thanks a lot

+4
source share
3 answers

From wiki articles

Java perspective includes a menu called Refactor. This contains all the possible refactoring operations currently performed by the JDT. All operations are listed, although they may not be applicable to the current selection.

A few 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.

+2
source

I had the same problem, and it seems that you should be in the "Package Explorer" view in order to perform many options in the Refactor menus and classes. Try this: click "Window" → "View View" → select "Package Explorer" from the list, and then open the "Refactor" menu in this view.

+1
source

This indicates that your src folder is not in the build path. See the accepted answer to this question.

+1
source

Source: https://habr.com/ru/post/1384718/


All Articles