Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA Persistent Changelists (after commit)?

In Intellij IDEA 9 or 10, is there something akin to a persistent changelist? I'd like to continue to monitor a list of files after the commit; I'd like to continue making updates based upon a single use case or (JIRA) ticket.

Favorites are not as intuitive as changelists as they cannot group units of work into separate concerns. It's a single list I have to actively maintain. In addition, I'd like to be able to track a file separately across multiple changelists.

Lastly, I've looked around for a plugin that may accomplish this, but haven't found anything.

Thanks for your help.

like image 750
gcraig Avatar asked Feb 07 '11 17:02

gcraig


2 Answers

There is probably another way to it using Idea's contexts. Navigate to the Tools -> Contexts in the menu and save your current context. When you will need it back then just load it. More information on contexts is available in the idea's help.

like image 185
Alex Nikolaenkov Avatar answered Oct 18 '22 23:10

Alex Nikolaenkov


Note to future readers: Circa 2016, Changelists are now persistent by default, with a dialog prompting you to turn on auto-deletion of empty changelists.

They automagically incorporate both tasks and contexts, allowing you to manage all three together conveniently.

Alternately, you can navigate to Tools -> Tasks & Contexts -> Open Task or press Alt+Shift+N and enter a new or existing task name; when creating a new task, it offers to create a changelist for you; and, it offers to copy the current context, or start fresh.

like image 20
jpaugh Avatar answered Oct 19 '22 01:10

jpaugh