Can you save groups of tabs in Eclipse so you can open them later?

0 votes
asked Nov 3, 2009 by northpole

I have several different processes within a single project that I work on. I am constantly opening and closing tabs(java files) in the code editor for that particular process. Each process almost always uses the same java files.

I was wondering if it is possible to save what files are opened as part of the working set so I can select what working set I want and have all the java files open that I will need to work with. Currently the working set just sets the tree to these files, but I am looking to also have it open the files I need.

I hope this makes sense...

6 Answers

0 votes
answered Nov 3, 2009 by balusc

You need a Macro. Searching using this term at Eclipse plugin sites like and so on must yield enough suggestions, for example Practically Macro. Good luck.

0 votes
answered Nov 3, 2009 by vonc

Mylyn should be your answer here.

Mylyn is a task-focused interface for Eclipse that makes working with very large workspaces as easy as working with small ones.
Mylyn extends Eclipse with mechanisms for keeping track of the tasks that you work on.

Mylyn monitors your work activity on those tasks to identify information relevant to the task-at-hand. Mylyn monitors Eclipse and captures your interaction in a task context.
System artifacts such as files, types, methods, and fields get assigned a degree-of-interest based on how recently and frequently you interact with them.
This results in uninteresting elements being filtered from view within Eclipse, allowing you to focus in on what is important.

0 votes
answered Nov 3, 2009 by mhaller

Eclipse provides multiple ways of structuring the IDE desktop:

  • Perspectives: Customization of the positions of open and closed views and editors. You can copy and rename existing perspectives like the Java perspective and suit them to your needs by customizing them. See the Window menu or right-click on the perspective icon in the upper right corner
  • Task Management Tools like Mylyn: see answer by VonC
  • Multiple Windows: You can open new windows and move them to your second monitor. Select Window > New Window to open a new window. Each window keeps track of its own open editors.
  • Multiple Instances of Eclipse: You can always use multiple workspaces and multiple instances of Eclipse. However, this is only recommended when working on different projects, as both instances would overwrite each others files when rebuilding.
  • Hotkeys: By using shortcuts like Ctrl-T and Alt-Left/Alt-Right and Ctrl-Q you can quickly jump to previous locations where you have edited source files. This is a great help in navigating the open workspace.
0 votes
answered Nov 16, 2011 by skind

Extended VS Presentation provides capabilities to save sessions.

Unluckily, it only works with Eclipse 3.1 to 3.8:

Project page at Eclipse Marketplace

sessions management

0 votes
answered Nov 24, 2016 by saheed

The accepted answer tells us which tool could be used but does not provide a quick and dirty explanation on how to use it.

In my case, I hadn't finished researching a large code base but I needed to save my progress so I could return to it later hence the need to save all open tabs using Mylyn.

  1. If you already have Mylyn installed, navigate to Window -> Show View -> Task List to view the list of tasks. If you've never used it before, the list will be empty.

  2. Right-click inside the Task List view then New -> Category to create a new category. Right-click again New -> Task to create a new task.

  3. Double-click on the task you just created then click on the Context tab at the bottom left of the view.

  4. Now navigate to each tab which you would like Mylyn to save by clicking on the tab name. Notice how an entry for the source file for that tab is added in Context tab of the Task List view.

Once you've cycled through all the tabs you'd like to save, you can confirm they were saved by closing each one and double-clicking the source file in the Task List to restore the tab.

0 votes
answered Sep 15, 2017 by christopher-hull

I've edited this answer as per below comment (include essential parts of answer in this post).

Yes, you can save off groups of tabs in Eclipse by installing this Session Manager plug-in.

I've wanted this functionality in Eclipse as well. I recently wrote a feature and have been successfully using it for a few months now. It is a new OSGi type extension and works with Eclipse Neon and above.

Here's how to install it.

  • In Eclipse, go to Help → Install New Software
  • Click “Add”, enter a name like “Editor Sessions” and the following URL.
  • Unckeck “Group items by category” to see the feature.
  • Check the box that says “Editor Sessions Manager” and click Next.
  • Read and agree to the short license agreement.
  • Click the remaining install buttons.
  • Allow Eclipse to restart.

Full set of instructions are here:

Please give it a try and send comments. I've found it a very useful tool as I work with several Eclipse projects at once and need to recall file groups.

Hope you enjoy it;

Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter