Friday, November 14, 2008

There's two handy Visual Studio features that you can't customise through the Tools -> Options settings.

Guidelines

This allows you to have a little dotted line that reminds you that your code is getting too long:

image 

Under [HKEY_CURRENT_USER]\Software\Microsoft\VisualStudio\9.0\Text Editor create a string value called Guides, and put a colour and the column position(s) that you want guides to appear at (e.g. Guides = RGB(128,0,0) 79, 119)

(from http://blogs.msdn.com/saraford/archive/2004/05/05/257953.aspx)

 

MRU Tab Ordering

Keep your most recent files at the left of your tab channel, rather than ordering them in the order that the files were opened in:

image

Under the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0 key, you can create a DWORD UseMRUDocOrdering = 1.

(from http://blogs.msdn.com/saraford/archive/2008/10/09/did-you-know-you-can-keep-recently-used-files-from-falling-off-the-file-tab-channel-331.aspx)

 

Cheers,

Kirk

Previous tips:

Comments are closed.