Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display current SVN branch in Intellij IDEA title?

I switch to different SVN branches quite often, usually I use 1 branch for 1 issue I'm working on.

IDEA 12 doesn't show current SVN branch in some good visible area, and sometimes I forget what branch I'm working on, and have to go to Changes -> Working copy info -> Refresh

Is there a way to show current branch in a window title or in a status bar (as IDEA does for git)?

I'm also trying to write a plugin that can show current SVN branch in IDEA title, but don't really want to read tons of APIs and documentation.

As I understand, if there is no standard way, I need to: 1) Somehow subscribe to SVN Update event 2) Modify IDEA title (or status bar) and add current branch name to it

like image 277
relgames Avatar asked Jan 15 '13 13:01

relgames


2 Answers

It's not supported yet, please vote for this open request to get this feature implemented sooner.

like image 153
CrazyCoder Avatar answered Sep 22 '22 16:09

CrazyCoder


I simply hit the 'Update Project (Ctrl+T)' to identify branch. In a 'Use branch' field it will show current branch.

But of course it's not as convinient as to have some status bar for branch or something like this. Sometimes I forget to switch between branches and I think that if there will be such bar then it may solve this trouble.

like image 45
Dmitry Kankalovich Avatar answered Sep 19 '22 16:09

Dmitry Kankalovich