How do I change the blue borders in VS 2010? - visual-studio-2010

I imported my old fonts and colors settings under environment, and my code looks the way I like it, but I don't see where to change the look of the blue border surrounding it.
If anyone knows where this is, please help me complete my usual post-install pimp my IDE routine...

Install the Visual Studio Color Theme Editor:
http://visualstudiogallery.msdn.microsoft.com/en-us/20cd93a2-c435-4d00-a797-499f16402378

You cannot - there simply isnt any support for that. As MicTech said, this might appear in teh next version, or perhaps even the next SP for VS2010. Why? because it's not that hard, now that they've rewritten it in WPF (its not the WPF that makes it easier, its the rewritten architecture).

Related

Better color coding for visual studio (2013)

I'm learning both Java and C# right now. I started with Java first, back in august. The class I'm using uses BlueJ as a compiler. BlueJ has this cool color coding, where it's not just key words or such, the background changes based on what exactly you're typing in.
(Because I'm terrible at explaining things, it looks like this: http://imgur.com/HvhJUgY)
It's made it so easy on my eyes. Now that I've started coding in C#, my eyes can't seem to adjust back to not having the colors. I find myself getting lost in where an if statement begins and ends, and end up having to put ridiculous amounts of space and comments between code to help me follow it better. Does Visual studio have any options to do this, or do I just have to suck it up and learn to adjust?
The colour coding is in the Fonts and Colors options. To get there select Tools/Options. In the dialog, select Environment/Fonts and Colors. For the code, you can set the options in the text editor but you can do it for all the other windows in visual studio too.
Solution:
You can download an extension. In Visual studio code, click on the button that has four squares on the right hand side of the VS code's window. Then, in the search bar, search for "Bracket Pair Colorizer 2." This extension should aid your vision when looking at code. Here's an example
picture. Also, this extension is customizable, letting you add any color you'd like to resemble different types of lines of code.
Settings
To customize your extension, under the extension name you will find a settings dial, similar in shape to the windows settings logo. Click on that, and then click on "Extension settings". From there, you have access to many useful settings.
If this solution has solved or helped you, please mark it as an answer and upvote it. Thanks!

How do I change even line background colours in Visual Studio?

I find the dark theme much easier to concentrate in, but I think I mucked something up a while ago and it turned the dark theme text editor into a monstrosity:
I tried clicking reset to defaults in this menu:
But it appears that that menu does not control this specific part because it did not change it back (Or god forbid it's supposed to look like this)
Does anyone know the solution for this?
It looks like you have an extension installed that is providing that coloring. Go to Tools->Extensions and Updates and check if there's anything about alternating line colors (perhaps this extension), and disable or uninstall it.

VS 2010 forgets my customised Fonts and Colours

I like a dark background when coding and have customised it to a scheme that suits me. However each time I start VS some colours are wrong. To fix this I have to go to "Tools\Options\Fonts and Colours", click on "Display items" and click OK. This fixes it for that session but the next time I start up VS the colours are wrong again.
Clearly the colour scheme is remembered because I don't have to set them again, just having to go through the above process. Is there any way to fix this problem so that I get the correct colour scheme the first time I start VS?
The problem seems to have disappeared. I don't know exactly what did it. Our MSDN license came through and I reinstalled Expression Blend (which might have updated some files for VS and we also got a licensed version of Resharper (I had a trial one only till then and downloaded a slightly newer version after we got the license).

Rockscroll or Metalscroll for Visual Studio 2010 (Minimap)

Has any one found a replacement for Rockscroll or Metalscroll for Visual Studio 2010?
I miss it so much that I looked into making one my self but only have word highlighting working and a place holder scroll bar and seems to be much harder than I thought it would be. I'm happy to share what I got if someone is interested in helping.
The Productivity Power Tools extension for VS2010 just added an "Enhanced Scrollbar"!
To enable the minimap go to Tools->Options->Productivity Power Tools->Enhanced Scroll Bar and check "Full map mode". Optionally you can assign the background color and highlighted region.
Just tried ProgressiveScroll and it looks and feels like the original MetalScroll; it also works in Visual Studio 2012!
A user named Kryo at the "Sins of solar empire" forum have made a pretty good imitation of MetalScrollbar for VS 2010, called MetalMargin. Available here. Just installed it, and it seems to work pretty well, although highlight on double click is not yet implemented.
David Pugh released a version of his Structure Margin, which serves a similar purpose. His All Margins extension combines a bunch of the other smaller extensions in the same vein.
It's not exactly the same, but I find the structure margin to be an interesting way to visualize the entire code file.
I haven't tried it myself yet but AllMargins looks really nice. Whoops you already linked it Noah Richards. Sorry.
The code is also available for the OverviewMargin - I haven't tried it at all, but it may be a good place to start from if you want to roll your own.
Did You try RockMargin ?
http://visualstudiogallery.msdn.microsoft.com/1b0d7360-40dd-447e-8bef-90e2cf52f683
This is useful
For anyone looking for a replacement for just the Highlighting part of RockScroll, the free plugin "Highlight all occurrences of selected word" does exactly that.

Is it possible to customize the colors of RockScroll's variable syntax highlighting?

As some of you know the RockScroll Visual Studio plugin is pretty darn awesome. It turns your scrollbar into a mini preview of your code and offers the Eclipse like functionality of highlighting any word that you doubleclick in your code.
The problem is the author of RockScroll chose a color that is VERY difficult to see and almost defeats the purpose of such a cool and very useful feature.
So my question is. Is it possible to customize the color or specify your own somehow?
Stay tuned because I answered my own question and found a way!
You can set it by going to
Tools > Options > Environment > Fonts and Colors > rockscroll
Rockscroll.dll is version 2.1.0.0 (05/09/2008)
I figured out a way to accomplish this by hex-editing the rockscroll .dll
By default RockScroll uses a very light purple, bluish color: F5E7FE.
Open up your favorite HexEditor.
Open the RockScroll.dll in your Program Files\RockScroll directory (back it up first!)
Search for the color specified above and remember to search using the proper byte-order.
I happened to find that color sequence on line: 00006FDC
Enter a new color of choice...I chose a more prominent yellow/gold color: E8E8FF
Save the file and close it then restart Visual Studio and if you managed to do this correctly Visual Studio will start with no complaints.
Open up some code and double click a word...you should have the new color available immediately.
Cheers!
Disclaimer: This is considered a hack so do this at your own risk!!!
Use MetalScroll instead!
It does everything and more that RockScroll does and is easily configurable.

Resources