mstuercke
mstuercke

Reputation: 731

Eclipse: Context Menu

How can I customize the items in the context Menu "New" (Screenshot)?

I want to have there an option for "New Class", "New Package", ...

Is this realizable?

Context Menu

Upvotes: 0

Views: 844

Answers (2)

Chandrayya G K
Chandrayya G K

Reputation: 8849

Its not required to switch your perspective, you can bring the same menu items in your current perspective by customizing it.

Click Windows > Customize perspective.

Go to Shortcuts tab enable the required Java element here. Similarly go to Menu Visibility tab, Enable the required Java items under File > New node.

enter image description here

Upvotes: 3

Konstantin Yovkov
Konstantin Yovkov

Reputation: 62854

Yes, you have to change the Perspective (for example, to Java) on the right-hand side of the IDE.

Checkout the screenshot:enter image description here

If you don't see on the right-hand side, you can navigate to

Window -> Open Perspective -> Other -> Java

and then you will have a different context menu.

Upvotes: 2

Related Questions