In Vs2013 with resharper, what are the yellow lines on the left margin - visual-studio-2013

In Vs2013 with Resharper, what are the yellow lines on the left margin.
This ought to be an easy question to answer, but I wasn't able to guess the keywords to search.

The coloured marks in the border are how Visual Studio tracks changes (not related to ReSharper). The yellow marks indicate that the line has changes but not yet been saved, they will turn green once saved or orange if saved and then undone, according to this link

Related

What do the green underscores in the Script section of my cshtml indicate, and how can I ungreenify them?

In Visual Studio (2013, if it's significant) I see this in the "Scripts" section of a .cshtml file:
The green undersscores may actually be being rendered by Resharper (version 2016.1, if it's significant).
I suspect this is some sort of warning, but how can I see what the warning is, and how to resolve whatever is causing the warning? Hovering does nothing; 2-clicking does invoke a "Format Selection" icon (doubtless from Resharper), but selecting it does nothing.
This is a ReSharper hint - it's saying that it can make a change here that is likely to improve your code, but isn't necessarily important (if it were more important it would be displayed as a full squiggly underline, green for suggestion, blue for warning, red for error).
You can find out what ReSharper wants to do by hovering over the green dots. If you like the hint, put the text cursor inside the green dots, hit Alt+Enter and select the option that will update the code. If you don't like the hint at all, and never want to see it again, you can also do that from the Alt+Enter menu - select inspection options, and change the severity of the inspection from "Hint" to "Do not show".

Visual Studio - disable reversed cursor to select line

I hope this is okay to ask on SO, I'm not sure. I apologize if it shouldn't be here.
I reinstalled Visual Studio Professional 2015 yesterday due to a few issues I was having. With the new installation, my line numbers have a very wide section where the mouse reverses direction and select the entire line if clicked. I don't recall this area being so wide on any of my previous installations of VS2015; I know it was there in the first place. Is there a way to disable this?
This is the area where this happens, boxed in green. It's much wider than the line numbers fill (only 147 lines in this file).
There are two "margins" available in Visual Studio 2015: Selection and Indicator available under Tools > Options > Text Editor > General > Display. Turning these off remove some, but not all of the "extra space" and the feature of highlighting an entire line is still there.
If you want to turn them off because the extra space is bothersome, keep in mind you will not be able to see breakpoints unless "highlight current line" is checked.

How to change highlighting color in Visual Studio using ReSharper?

Where my arrow is pointing I have seen various people who have changed the color of the highlight to blue or cyan or some other color that is easier to see and "pops out" more. I have tried searching on stack overflow and the internet and have been unsuccessful at finding how to change this specific thing rather than changing the entire color of all highlighting text. Basically when you click next to an end brace or beginning it highlights the other one but in my case its grey and I would like it to be blue or something better. How do I do this? Sorry I don't have enough reputation to post the image in this specific post.
I looked through Tools > Options > Fonts and Colors for nearly every option and changed lots of things around, but nothing changed the way it highlights those braces when you click next to one. I was able to successfully change the color it highlights it but the second I release my mouse it changes back to grey.
Tools > Options > Environment > Fonts and Colors
Resharper Brace Outline
Resharper Matched Brace Items
To change whether to display color or outline, go to Resharper Options:
Resharper > Environment > Editor > Highlight with [x] color [ ] outline
ReSharper Help/Highlighting Matching Delimiters

Highlighted Text background and foreground - How to change?

Here is my scenario. I like my color scheme. I have a dark blue background with light grey text. I have the Plain Text option in VS 2010 in Tools | Options | Environment | Fonts and Colors set to be a dark grey for the foreground and dark blue for the background:
alt text http://www.elbalazo.net/post/vs_plaintext_color.jpg
But I need to fix this major problem/annoyance which is when I highlight some text and then lost focus with my mouse it turns almost completely white!
alt text http://www.elbalazo.net/post/WhiteBackgroundVS2.jpg
And worse, when I mouse over the little section lines of code on the left, the selection of the entire editor goes white with a light grey foreground for text:
alt text http://www.elbalazo.net/post/WhiteBackgoundVS.jpg
Not able to figure out where and how to fix this. I don't see a way. Note: I'm using R# 5.0+ so I don't know if that has anything to do with this color issue or what...maybe it's overriding some VS stuff or this is just a VS issue I don't know..probably just not looking in the right area under Fonts and colors...but a lot of the item foreground elements are read only.
UPDATED:
I think it might be (not sure) this one but I can't test it as the foreground is locked and not editable:
alt text http://www.elbalazo.net/post/vs_brachmatching_color.jpg
I'm pretty sure your first problem can be solved by setting the colors on the 'Highlighted Reference' option in the Fonts and Colors window. If ReSharper is override this setting I couldn't tell you. I don't have it installed on this machine. As for your second problem I have no idea.
If you get too irritated at trying to figure out the color options you could also try Studio Styles for pre-made ones. I believe that is where I got the one I use currently.
I believe the setting you are looking for is "Inactive Selected Text". Found while trying to figure out why my selected search texts were not highlighted in an obvious manner.
Might be a year late... answering for future searches.
ReSharper is indeed overriding some of your settings, but those settings can be found in the same screen, towards the bottom of the listbox.
In Tools | Options | Environment | Fonts and Colors, scroll to the bottom of the 'Display Items:' listbox, and you should see a series of settings that start with ReSharper. For instance, the 'ReSharper Current Line Highlight` was causing me issues when I changed my theme to use a dark background.
Hope that helps.
The highlight for matching references is the "Highlighted Reference" background color (as Sean Copenhaver pointed out).
The highlight for the outlining region hover is "Collapsed Region" (as Brandon Satrom pointed out in his comment on the original question). The foreground color is the color used in the outlining margin and the background color is the color used under the text. You can also disable that highlight by disabling Tools->Options->Environment->General->Enable rich client visual experience, though that will disable other things (animations, gradients, etc.)
The brace matching rectangle is the highlight that appears when you insert or put the caret on a brace (e.g. ")", "]", "}"). It only lets you override the background color because you can't use it to change the foreground (text) color.
I had this same problem (much later) with VS 2010 and R# 7.1.
Disable the "Highlight current line" option in ReSharper > Options > Environment > Editor.
That option, when enabled, causes the VS 2010 color options for Highlighted Reference to not apply.
FWIW I had this problem without ReSharper and in my case tracked it down to the Brace Matching (Rectangle) color setting which looked nothing like what I was seeing in the editor but allowed me to fix the issue anyway.
So this is weird but I was having the same problem and it simply went away when I went to Tools->Options->Environment->Fonts and Colors and changed the font size to 18. I then went back in the same menu and changes it back to 10 (default) and the editor no longer highlights the collapsible regions white. Strange behavior.

Visual studio line colors

In Visual Studio, what does the vertical color bar between the line numbers and the code mean?
Sometimes there is green, yellow, or nothing.
Nothing means no changes.
Green means saved changes. These will disappear when the file is closed and reopened.
Bright yellow means unsaved changes. These change to green when the file is saved.
Dark yellow means unsaved undos (i.e. you've made and edit and then hit Ctrl+Z). These disappear when the file is saved.
The line indicates changes to code since last save.
No color = no change
Yellow = Track changes before save
Green = Track changes after save

Resources