Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 460062 - [TERMINALS] Navigate > Show In > Terminals is missing in the Java Perspective
Summary: [TERMINALS] Navigate > Show In > Terminals is missing in the Java Perspective
Status: RESOLVED WORKSFORME
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: 1.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.3   Edit
Assignee: Project Inbox CLA
QA Contact: Uwe Stieber CLA
URL:
Whiteboard:
Keywords:
Depends on: 435015
Blocks:
  Show dependency tree
 
Reported: 2015-02-16 18:38 EST by Martin Oberhuber CLA
Modified: 2015-05-11 18:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2015-02-16 18:38:00 EST
The "Navigate > Show In > Terminals" contribution is missing in the Java Perspective. This is unfortunate, because the keyboard shortcut Alt+Shift+W also isn't working. It looks like there are 2 independent "Show In" contributions.

Expected: Navigate > Show and Righclick > Show In should always have the same behavior - in all perspectives, and all Common Navigator based views (like Project Explorer, Package Explorer) and on all project natures.

Steps to reproduce: Download Eclipse SDK 4.4.2RC4
http://download.eclipse.org/eclipse/downloads/drops4/M-4.4.2RC4-201502041700/
and Help > Install New Software the TCF Terminals into it from
http://download.eclipse.org/tools/tcf/terminals_lunasr2

Then, create any project and choose Navigate > Show In in the Java Perspective.
Comment 1 Martin Oberhuber CLA 2015-02-16 18:47:02 EST
Note that "Rightclick > Show In > Terminals" does work in the Project Explorer on "General" Projects, but it does not work 

  - on projects that have a Java Nature
  - in the package explorer
  - from the Navigate > Show In menu when in the Java perspective.

Expected behavior would be that "Show In > Local Terminal" would be available in all of these. Having "Show In > Terminals" would be OK too.
Comment 2 Uwe Stieber CLA 2015-02-19 02:51:38 EST
Make sure that you have run "Reset Perspective" after having installed the terminal. Apparently, "Reset Perspective" is required to make all the perspective extension, like the "Show In" contribution and the view shortcut in "Show View", visible.
Comment 3 Thai Ha CLA 2015-05-09 09:14:56 EDT
I have the same issue on Eclipse Luna SR2 (4.4.2). There are Java projects and General projects in my workspace, but my entries in Windows > Preferences > Terminal > Local Terminal > "Show In..." Custom Entries  are displayed only for the General Projects but not for Java Projects.

Note: 
1. The Project Explorer > Show In > Terminal context menu item displays correctly for both Java Projects and General projects
2. There are two Terminal entries in  Windows > Preferences
Comment 4 Uwe Stieber CLA 2015-05-10 10:34:56 EDT
Thai Ha,
The custom "Show In..." entries are not available for Java projects because JDT is  contributing the "Navigate > Show In" menu to the context menu. This conflicts with our custom "Show In..." contributions. 

I haven't found yet a way to contribute our dynamically generated custom "Show In..." entries into the "Navigate > Show In..." menu. The most promising compromise here would be to contribute the view entry only and open up a dialog presenting our custom "Show In" configurations for the user to select from. Contributions are always welcome.

I would also suggest that you probably open a separate bugzilla for merging the two "Show In ..." menus or solving it using a compromise. This bugzilla here where originally for a missing "Navigate > Show In" context menu entry.
Comment 5 Thai Ha CLA 2015-05-11 18:27:52 EDT
I have submitted a ticket for this issue.  Bug 467048 - [TERMINALS] Custom "Show In..." entries are not displayed in Navigate > Show In for Java projects