View Single Post
  #13 (permalink)  
Old August 18th, 2008, 01:53 PM
jimibt jimibt is offline
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

a little genral tip that i have overlooked sharing for ages and thought it time that i added it. this 'tip' allows the editor in vs to show faint 'tramlines' at various indentation levels to allow for easy 'eyeballing' of related code structures etc...

basically, you need to copy the code below and save it to a file called (for example) vs tramlines.reg

here's the code:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\ 9.0\Text Editor]
"Guides"="RGB(240, 240, 216) 4, 8, 12, 16"


the code can be expanded to as many or few 'tramlines' as you please by adding/removing the digits after the RGB expression as can the indentation 'level' (for example, 3,6,9 would result in 3 tramlines with a 3 space separation etc).

hope this is clear(ish)...

[edit] forgot to add, you'll need to close and reopen vs to see the effect of th4e change...

jimi

http://www.originaltalent.com