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

前端 未结 7 1607
温柔的废话
温柔的废话 2021-01-30 15:54

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.

相关标签:
7条回答
  • 2021-01-30 16:19

    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 讨论(0)
  • 2021-01-30 16:21

    In addition to all mentioned... Did you try Bookmarks? You can save multiple bookmarks into one set, there are bookmark sets management option and you can add descriptions with prefixes to group bookmarks on the same set. Finally and more important: you can select multiple bookmarks, select goto and multiple editors will be opened at once.

    0 讨论(0)
  • 2021-01-30 16:32

    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 讨论(0)
  • 2021-01-30 16:38

    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.

    Following Saheed's answer, don't miss CodeKiller's comment:

    You can

    • Activate the task to reopen all files and
    • Deactivate the task to close all the files.

    Bookmarks (mentioned here by user1039663) is a valable alternative.

    0 讨论(0)
  • 2021-01-30 16:40

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

    0 讨论(0)
  • 2021-01-30 16:44

    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. http://spillikinaerospace.com/eclipseInstall/
    • 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: http://chrishull.com/projects/eclipse/

    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;
    -Chris

    0 讨论(0)
提交回复
热议问题