Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse package explorer have different icons for each file type: interfaces, abstract classes, etc

Does anyone know of an eclipse plugin that changes the file icon used by the package explorer to something that indicates type? It would be handy if the icon looked different for interfaces, abstract classes, enum, and concrete classes.

like image 989
reccles Avatar asked Oct 07 '09 19:10

reccles


People also ask

What is Package Explorer in Eclipse?

The Package Explorer view, shown by default in the Java perspective, shows the Java element hierarchy of the Java projects in your workbench. It provides you with a Java-specific view of the resources shown in the Navigator. The element hierarchy is derived from the project's build paths.

How do I fix package explorer in eclipse?

You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something. If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.

How do I use Package Explorer in Eclipse?

Upon running Eclipse you should see a pane labeled 'Package Explorer', probably on the left. If you do not see one, you can open it up by going to the Window menu, selecting Show View and Package Explorer. If it doesn't show up under Show View, select Other, then 'Java', then 'Package Explorer'.

How do I arrange project explorer in eclipse?

The key to make it organized is to open the Package Explorer's View Menu again and enable Top Level Elements > Working Sets. Then the projects are grouped by working set visually in the package explorer.


1 Answers

You can enable a feature in Eclipse similar to what you are describing. Open Window > Preferences > General > Appearance > Label Decorations. Then check the box for Java Type Indicator. I do not know of any plug-ins that give you more control.

like image 93
Dan Polites Avatar answered Oct 05 '22 14:10

Dan Polites