Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save and restore terminal sessions for a specific IntelliJ project?

Is there a way in IntelliJ IDEA (either built-in on via a plugin) to store the open terminal sessions (their name, their current folder, ideally also the history of the commands and the output) and restore them when re-opening the project again?

I often have several Terminal sessions opened concurrently (it's one of the features for which I like IntelliJ!) but it's very sad that their layout and history is forgotten when I reopen the project.

like image 479
Honza Zidek Avatar asked Mar 02 '17 13:03

Honza Zidek


People also ask

How do I get my terminal back in IntelliJ?

From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .

How do I rollback changes in IntelliJ?

Revert uncommitted changes You can always undo the changes you've made locally before you commit them: In the Commit tool window Alt+0 , select one or more files that you want to revert, and select Rollback from the context menu, or press Ctrl+Alt+Z .

How do I open multiple terminals in IntelliJ?

Opening Multiple Terminal Sessions For this, we can split our terminal window by right-clicking on it and selecting one of the options so that we can run two in the same window. For example, you can open up the mongo shell in this split window and can see if the commands have any impact on the running server.


1 Answers

Update: this is implemented now in 2018.3 EAP.

Original answer

It's not possible at the moment, please vote for the related requests:

  • IDEA-117946 Save terminal tabs between sessions
  • IDEA-134884 Allow scripted opening, renaming & content of terminal windows
like image 121
CrazyCoder Avatar answered Oct 04 '22 12:10

CrazyCoder