How to edit the "New" submenu of the right-click menu in Eclipse IDE? - eclipse

Is it possible to edit the "New" submenu when I use the right-clik on a project in the Project Explorer ? "Customize perspective" settings don't seem to have any effect on it. In my Eclipse on Ubuntu I have directly the wizards that I want in this submenu, but in my Eclipse on Windows I have to click on "Other..." to find the right wizard. Thanks.

open eclipse, then go to Window menu, select Customize perspective...
a windows appears. it has for tabs.
Tool bar visiblity
Menu visiblity
Command Groups Availablity
Shortcuts
select Menu visiblity tab, it will shows all menus with tree view.
then expand tree view of File then do same for the New which is sub tree of File.
now select All of those project types that you want, then click Ok.

Related

I want to hide(using program) collapse all, view menu and Link with editor option available in project explorer for my eclipse Product

I want to hide(using program) collapse all, view menu and Link with editor option available in project explorer for my Eclipse Product.

How to remove additional class drop down in Eclipse Project Explorer view?

In the Project Explorer view of Eclipse Luna, there's an additional drop down for Java files which represents the class inside the file (the green C icon). It expands when I double click to open a class. I don't need this there. Is there a way to filter this out?
Uncheck Preferences / Java / Appearance / "Show members in Package Explorer" checkbox.
It affect both Package and Project explorer.
Preferences windows with that checkbox
It's possible if you use Package Explorer instead of Project Explorer: go to prefs, Java, Appearance and disable "Show members in Package Explorer".
You can disable various elements in the explorer tree via the View config toolbar button (small white triangle on the toolbar just below the Project Explorer tab); select Customize View... then the Content tab; there you can disable, for example, Java Elements. But doing so will hide all Java-related elements from the Project Explorer tree; if you want that, at that point you should just use the Navigator view instead of Project Explorer. Navigator is just a file-system view of the projects.
There is an option for this. Click to three dots on the right top corner in Project Explorer window, click to "Filters and Customisation", then click to "Content" tab. You will see like that things:
Uncheck "Java Elements" (PHP Elements for Eclipse PDT) then clik to OK button. Then you will see that dropdown triangle shit goes to the hell...

Eclipse: How to disable outline tree view for files?

Is there a way to disable the outline tree view for files in Eclipse?
I never use it (on purpose at least) and find it to be quite distracting. (I prefer ctrl + O.)
For the Java Package Explorer, there is an option for this in the Preferences:
Go to Preferences -> Java -> Appearance and un-check 'Show members in Package Explorer'.
Alternatively, most of Eclipse's different navigator views offer the ability to Filter what to display. Click on the small triangular "menu" symbol at the top of the view and select "Customize View", or "Filter", depending on the view. You are then presented with a menu where you call select what to show and what to hide.
This works with the Java Package Explorer, Project Explorer, the general Navigator and also with the PyDev Package Explorer View, and probably a few more. This is a bit more manual, but allows for a finer adjustment. (Options what to show and what to hide differ between the different views.)
The creator of PyDev commented on my bug report and this is how you do it:
Select the PyDev perspective and then the Package Explorer (if not already).
Press CTRL + F10
Click on Customize View.
Select PyDev: Nodes: All
Press OK.

What is the IntelliJ equivalent from Eclipse, show file in the package explorer view

I am more familiar in Eclipse and need the IntelliJ equivalent. In Eclipse, I could open a java class, right click, show file in package explorer and it would highlight the file on the left. What is the IntelliJ equivalent.
You can highlight a file you have open in the editor in a number of views using the Select In...menu that can be opened using ALT-F1 when the editor window has the cursor.
The most usual ones (Project/Packages) are found under the menu opened by ALT-F1 and then right arrow.
You can also double click the circle/cross button ontop of the Project view
it will show you the current active file in the project structure
You can turn on Autoscroll from source in Project Tool Window so that the file/class to the left is scrolled to as soon as you open a file for edit.
If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window.
Note that selecting this option makes the Scroll to Source button unavailable.
It is called "select in project view".
You'd better edit your keymap ! (alt+F1 right arrow is not very efficient...)
file > settings > keymap > select in project view : alt+E for example
You can press Alt-Home, it goes to the navigation bar.
Go to or select the package by pressing left arrow.
Press F4 now to see it in the project view.

How to open the 'Projects' panel in Netbeans

In Netbeans, to the top left of where the code is, there used to be two panels, one called 'Projects' where you could click a project name to open a tree of all the directories and files in it, and you could double click a file to edit it.
Below it is the navigation panel which shows the class names, methods, etc contained in the file you're viewing.
I accidently clicked the close button on the projects panel and can't figure out how to get it to open again, any ideas?
In Netbeans 6.8 on Windows, going to Window -> Projects brings it back for me. CTRL + 1 works as the shortcut.
Click Window > Reset Windows will give you back the old state of all windows!
just go to Window in menu bar and select Projects
Window -> Projects
In NetBeans 8.2 Go to Window->Navigator in menu bar or press Ctrl+7 and select Projects
it will open a folder as work space .