Bug 540409 - New class/package... context-menu missing on Package/Project Explorer from Debug Perspective
Summary: New class/package... context-menu missing on Package/Project Explorer from De...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 15:31 EDT by Mickael Istria CLA
Modified: 2018-10-24 07:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2018-10-23 15:31:06 EDT
Disclaimer: I'm writing on behalf of Rabea.
Package Explorer and Project Explorer miss the actions on context-menu to create new JDT elements like classes, packages...
This seems to be a regression in Photon.
Comment 1 Mickael Istria CLA 2018-10-23 15:32:14 EDT
This is specific for the Debug Perspective.
Comment 2 Noopur Gupta CLA 2018-10-24 04:56:07 EDT
(In reply to Mickael Istria from comment #0)
> Disclaimer: I'm writing on behalf of Rabea.
> Package Explorer and Project Explorer miss the actions on context-menu to
> create new JDT elements like classes, packages...
> This seems to be a regression in Photon.

I don't see these options in Package Explorer in Eclipse Oxygen.2 (4.7.2) also in the Debug perspective.
Comment 3 rgra Missing name CLA 2018-10-24 06:28:02 EDT
Sorry Noopur, just checked it myself. You are right it didn't work in Oxygen. 
I have the feeling that it did work at a point but maybe I'm wrong and it's just because of the new perspective Layout which makes me feel im in the Java perspective (which is great).

Consider this as a feature request:
The "New.." actions should be according to the project nature no matter what perspective is selected.
Comment 4 Noopur Gupta CLA 2018-10-24 06:48:19 EDT
(In reply to Rabea Gransberger from comment #3)
> Consider this as a feature request:
> The "New.." actions should be according to the project nature no matter what
> perspective is selected.

Yes, that can be done.
Comment 5 Mickael Istria CLA 2018-10-24 07:37:48 EDT
(In reply to Noopur Gupta from comment #4)
> (In reply to Rabea Gransberger from comment #3)
> > Consider this as a feature request:
> > The "New.." actions should be according to the project nature no matter what
> > perspective is selected.
> 
> Yes, that can be done.

I support this proposal. It seems to me that Project Explorer at least have everything in place for that and JDT extensions seem correct. It could be either a simple missing thing or a bug more than an actual new development.
It would be good to compare with other *DT to verify whether it's a JDT extension or a package explorer issue.