Visual Studio, Line Numbers and Ankhsvn

Although I am a git and DVCS true believer, I still deal with SVN. In Visual Studio this usually means I use AnkhSVN. For anyone paying for the VisualSVN client, I really think you should evaluate this tool. Its Visual Studio Integration is superb and I’ve had no usability problems in recent versions.

One thing about it annoyed me was caused by it integrating too well with Visual Studio. That problem was it is the display of line numbers on the editor screen. I setup Visual Studio to display line numbers in editor windows, and this has the side effect of displaying line numbers in the log message editor of the commit screen. I find this annoying. I don’t need line numbers for my commit log files and they take up precious screen real estate.

Commit to Subversion With Line Numbers

Luckily I found a solution. Apparently, in the current version of AnkhSVN, the commit editor has its own section in the Visual Studio Text editor options. So turning off the line numbers on the commit screen, but not the other editor screens can be done from the Tools | Options menu.

Options|TextEditor|General
Options|TextEditor|General
Options|TextEditor|Log Messages (AnkhSVN)
Options|TextEditor|Log Messages (AnkhSVN)

After that, the line numbers disappear in the commit dialog.

Commit to Subversion Sans Line Numbers

Its the little things like this that make a software experience truly great.