I occassionally develop in two different branches of the same code base. For example, "Hot Fixes" and "New Development". I have the .name file checked into source control (and all of the other.x files for the directory based project) This means that the name that shows up in my Windows Task bar is the same for both instances of IDEA, which is kind of annoying.
I was wondering if there was a way to use some logic with the $PROJECT_DIR$ to pull out the branch name from the directory structure. For example, if my directory structure was 'C:/development/HotFix', then I could something with that information to set the project name.
Thanks for your help and/or suggestions.