[SOLVED] New plugin: create context using branch name
Challenge: most of the time I use the current branch with different files and layouts (splitting horizontally, vertically, both or none). Changing different configurations for branches takes time. Using the context feature helps solves the problem. BUT the creation of context can be improved, let's say, using shortcuts and some configurations.
Why: I got a macro and some custom shortcuts, but eventually want to use that same configuration in other JetBrains apps (like IntelliJ). The macro uses the console to get the branch name and sometimes there are bugs. IMHO there's a better and elegant way to do this and even share that same aspect of work when changing contexts over branches. Maybe a plugin can automate that task.
Example: branch feature-foo using 4 files and split horizontally. Then change to branch fix-bar and use different 5 files and remove split. Then back to branch feature-foo.
Plugin must:
- Create the context using some configuration. In this case, using the branch name;
- Add some shortcut to context feature (load, create, delete, manage screen);
Suggestions?
Please sign in to leave a comment.
If you don't know about the context feature, please check https://www.jetbrains.com/help/webstorm/saving-and-clearing-contexts.html
similar feature will be included in 2017.3 - see https://youtrack.jetbrains.com/issue/IDEA-69150
Solved by https://youtrack.jetbrains.com/issue/IDEA-69150