With IntelliJ IDEA, you can save and clear contexts without associating them with specific tasks.
Procedures: