Intellij IDEA Persistent Changelists (after commit)?

993 views Asked by At

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.

3

There are 3 answers

2
Alex Nikolaenkov On BEST ANSWER

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.

0
gcraig On

After further searching, I found a plugin to do exactly as I needed.

Chris Bartley's Workspaces: http://plugins.intellij.net/plugin/?id=83

3
jpaugh On

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.