Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - easy access to frequently used folders?

Tags:

eclipse

Does anyone know of a plugin for Eclipse to use 'favorite folders' in a project ?

There are maybe 2 or 3 folders inside my project (of 1000+ folders) that I regularly switch between. It's really a drag to use the scrollbar in the Project Explorer each time to get to the right folder, since some of them are 5 levels deep in the directory tree.

It would be VERY nice to have a separate small panel below the Project Explorer to access these frequently used folders...

like image 302
Dylan Avatar asked Dec 23 '10 16:12

Dylan


People also ask

How do I access a folder in Eclipse?

in Eclipse, right-click on your project and select "Properties". With "Resource" selected, it shows "Location:" which is the path to your project. Let's say if you added a folder to your project called Audio, then you could access a mp file like this: new File(".

How do I bookmark a file in Eclipse?

Adding a Bookmark To set a bookmark, right-click on the vertical ruler near the line on which you want the bookmark and select Add Bookmark . In the Add Bookmark dialog box enter a name for the Bookmark. A bookmark icon appears in the vertical ruler.

How do I search all folders in Eclipse?

The Eclipse search dialog box allows you to search for files that contain a literal or a character pattern in the entire workspace, a set of projects, a specific project or folders selects in the package explorer view. Clicking on the Search menu and selecting Search or File or Java. Clicking Ctrl + H.

How do I expand all folders in Eclipse?

Expand all all in project explorer is Shift + Numpad * (multiplty), as mentioned before. Collapse all in project explorer is Ctrl + Shift + Numpad - (subtract).


2 Answers

Eclipse now allows to bookmark folders -- the corresponding bug is fixed.

When you select a folder in the tree, the add option might not appear in the context menu, but it does appear in the application menu at Edit -› Add Bookmark.

However, while the folder then is listed in the bookmarks view, nothing happens when it gets clicked. One has to right-click the bookmark and then select Show in... to get the actual folder focused in the navigator/explorer. IMHO it is better (i.e. more robust) than the workaround using file-bases bookmarks, but it still could be improved (e.g. without the context menu extra clicks to switch to a bookmarked folder).

like image 200
Oben Sonne Avatar answered Jan 19 '23 02:01

Oben Sonne


At this point, looks like https://stackoverflow.com/a/12365878/470838 is more relevant than this answer.

Note quite what you want, but Eclipse allows you to bookmark files. You could use this to bookmark a file in each directory and then use the Bookmarks view to move around from there.

like image 37
orangepips Avatar answered Jan 19 '23 03:01

orangepips