title: IntelliJ IDEA Plugin Development: Save groups of tabs, save them persistently and reload a set of tabs if requested by the user
body: <p>I am currently at the move to write an IntelliJ plugin. I want to be able to store/restore a set of tabs to switch between different tab sessions (comparable to browser plugins like <a href="https://addons.mozilla.org/de/firefox/addon/session-manager/" rel="nofollow noreferrer">Session Manager</a> or <a href="https://chrome.google.com/webstore/detail/session-buddy/edacconmaakjimmfgnblocblbcdcpbko" rel="nofollow noreferrer">Session Buddy</a>).</p>
  
  <p>Therefore i need basically three types of actions:</p>
  
  <ol>
  <li>Read open tabs (which file and editor is used?)</li>
  <li>Store that information persistently as a tab session</li>
  <li>Open tabs of selected session and close all others</li>
  </ol>
  
  <p>I looked at the available actions: <a href="http://git.jetbrains.org/?p=idea/community.git;a=blob;f=platform/platform-api/src/com/intellij/openapi/actionSystem/IdeActions.java;hb=HEAD" rel="nofollow noreferrer">IdeActions.java</a> - it seems that there is not what i am searching for. But maybe i am looking at the wrong place. Can anyone tell me if what's i am trying to achieve is possible and give me some pointers in the right direction?</p>
  
  <h2>Update</h2>
  
  <p>I succesfully created the plugin and it's available at Github: <a href="http://alp82.github.com/idea-tabsession/" rel="nofollow noreferrer">http://alp82.github.com/idea-tabsession/</a></p>
  
  <p>It is available in the official plugin repository: <a href="http://plugins.jetbrains.com/plugin?pr=&amp;pluginId=7209" rel="nofollow noreferrer">Tab Session</a>.</p>
  
  <h2>Update 2</h2>
  
  <p>Here is a follow-up question regarding splitted windows: <a href="https://stackoverflow.com/questions/19728469/retrieving-and-setting-split-window-settings-for-intellij-idea-plugin-developmen">Retrieving and setting split window settings</a></p>