Visual Studio 2008 Editor Configuration - Caret & Current Line

I am trying to do a few things to customize the configuration of the Visual Studio 2008 editor. I want to do this with some customization or a macro that I can write myself. I cannot install third-party add-ons such as resharper to achieve these goals in the environment where I work. Here is what I need to do:

  • I want to change the caret color in the editor to # FF0000

  • I want to change the background color of the current line, where the carriage is a slightly darker shade than the rest of the editor window

I have searched extensively for Visual Studio options, and I cannot find settings for these specific things. I also looked at the object model that VS provides for macros and non-cubes. Any pointer is evaluated.

+5
source share
1 answer

I studied this before and found that there is no way to color the current line outside the add-in. A quick search indicates that the same is true for the cursor / cursor. Unfortunately.

You can not run add-ons, even if they are your own? The necessary code is available, so you can create your own add-in that will do exactly what you want.

http://rorybecker.blogspot.com/2008/05/new-plugin-highlightcurrentlineineditor.html

http://dxcorecommunityplugins.googlecode.com/svn/trunk/HighlightCurrentLineInEditor/

+7
source

All Articles