开发者

Right-margin marks in VS2010 text editors

开发者 https://www.devze.com 2022-12-27 01:27 出处:网络
In VS2008, you could enable right-margin marks by creating a string registry entry named Guides under HKCU\\Software\\Microsoft\\VisualStudio\\9.0\\Text Editor.It also worked with the express editions

In VS2008, you could enable right-margin marks by creating a string registry entry named Guides under HKCU\Software\Microsoft\VisualStudio\9.0\Text Editor. It also worked with the express editions: replace Visua开发者_JAVA百科lStudio with VCExpress or VCSExpress.

The value I had was: RGB(192,192,192) 80, 100 which gave me light gray lines at columns 80 and 100.

I've just tried (and failed) to set them up in VC++2010 Express and VC#2010 Express; does anyone know if they're still supported?


Not out of the box, but...

Go to "tools\extension manager".

Click "online gallery".

Type "guides" in the search box.

The first hit is 'editor guidelines', an extension that reads the same registry keys as before. I think there are other extensions in the gallery for it too, maybe.

Here's the link & description of the extension:

http://visualstudiogallery.msdn.microsoft.com/en-us/0fbf2878-e678-4577-9fdb-9030389b338c


Or, better yet, get Microsoft's Productivity Power Tools from the same place (tools/extension manager/online gallery search for guides). Column guides are just one of the many super-cool features this adds to the VS environment...


Visual Assist X also has a feature for this, under

Visual Assist X Options -> Advanced -> Display -> Display indicator after column ....

0

精彩评论

暂无评论...
验证码 换一张
取 消