I want to change my theme from light to dark in VS 2012. Problem, the serpentine line is by default blue and you cannot see it in front of a dark background.
Since I wanna see my spelling (and other) errors imediately I am looking for the option to change this color but cannot find it anywhere. Anyone who knows where to change this?
Go to TOOLS - Options - Environment - Fonts and Colors - (Settings for Text Editor) - Compiler Error - select Item foreground for a more visible color.
Related
I would like to change the background color in Visual Studio when there are no code window. Basically the default background of the window. Here is a picture...
The arrow is pointing to the area I would like to color. Any thoughts?
If you want to stay in dark mode and try to change only some areas of color. You should try to this extension. Have a nice day.
Hamit Enes pointed me in the right direction. There is an extension that let's you create themes that have a much wider and clearer set of color selections. While I could not find what I needed in the VS tools, the theme editor led me right to it. Turns out what I need was in the "Main Window, Active Background".
I'm using the Color Theme Designer extension for Visual Studio 2019 v. 16.7.5 (link to extension here). With it, I've tweaked one of the themes to be a little pleasing for my eyes.
But, I'm stuck with one particular element on the main window - the Name (caption ?) of the current opened solution which is right next to a Search pane. It gets some white-ish background, but that I really don't want. See:
I woul'd like it to appear with the same background color as the rest of the window.
The original Dark Theme has it set to black, so It has to be possible:
I went intuivitelly through all possible properties of the theme - like *Title, *Caption etc. but I just can't find the right one. Can anyone help me ?
I really like the Zenburn theme. As such, I downloaded this theme from studio styles and imported it as settings. Everything seems to have configured correctly except one thing - the line number separator.
If you look at the link above, you'll see there's no line between the line numbers and the code. Just a nice space. When I installed the theme I get this baby-puke-green line separator that is really off-putting:
I have installed the color editor plugin but I can't seem to find a way to edit this part of the theme. I really like the overall theme, and everything else seems to work correctly, I just really want this awful color gone (I don't even think it's in the theme!).
How can I change/remove this separator so it looks more like the image on https://studiostyl.es?
If you are using Color Theme Editor for Visual Studio 2017 you can just search for line number for the leftmost puke green and for track changes to change the vertical bar in yellow or green by default which is Track Changes before save and Track Changes after save respectively and change the foreground and background color that way and save your modifications as a custom theme.
You don't need any theme editor though. The built-in options dialog has a setting for all of those as well.
I'm using a dark theme in visual studio 2010, and have just set up Resharper's colours to fit that.
However, when I now use either the Inspection Results preview or the Find Usages preview, it has picked up the dark background colour setting but none of the other colour settings. This makes it rather difficult to read, black on dark gray!
I have looked through the Resharper section of the visual studio colour settings, but I can't find one for the background of a preview window specifically, has anyone else found out how to change this please?
(Edit: I have no problem with setting just the background colour back to light gray/white, especially if it's not going to pick up the other colours, so I'm clarifying that even a fairly complicated method of setting just this one colour would be fine.)
I was getting an all-white after changing to a dark theme in the Find Results but change the follow and worked for me.
Tools -> Options -> Environment -> Fonts and Colors -> Definition Window Background
If you're using VS2012, try switching to VS's built-in Dark theme to fix this problem.
The Visual Studio editor highlights the current line by changing the background color of the current line. Is there a simple way to disable this highlighting? Otherwise, which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
Is there a simple way to disable this highlighting?
Tools -> Options -> Text Editor, in the Display group, uncheck "Highlight current line"
Which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
The colors are named "Highlight Current Line (Active)" and "Highlight Current Line (Inactive)"
To disable the border around the current line
In VS 2019
Go to : Environment -> Fonts and Colors:
Find the display item: Highlight Current Line
Set the item foreground color to: Automatic
In VS 2017 and earlier
Go to : Tools -> Options -> Text Editor:
Find the display items:
Highlight Current Line (Active)
Highlight Current Line (Inactive)
Set the item foreground color to: Automatic
if its visual code make
"editor.renderLineHighlight": "none"
The Visual Studio editor highlights the current line by changing the background color of the current line.
The only time I've seen this is when "Use Windows High Contrast settings" is enabled (Options > Environment > General)
With this setting disabled, I just get a subtle grey box to indicate the current line (this may depend on your Color Theme):
If you're using Resharper, it's:
Tools -> Options -> Text Editor:
ReSharper Current Line Highlight
press -> Ctrl + comma
Search => Render Line Highlight
select none from the options
In addition to the previous answer, I'd like to mention that Visual Assist (the tomato icon) also have an highlight current line feature, that can still be active while your Visual Studio highlight option is turned off.
This drove me crazy! Find it in Visual Assist Option panel, Display category.
So don't forget to also uncheck the VisualAssist highlight option.
edit
my settings:
Visual Assist option turned off
Visual Studio option turned on (in the Text Editors part)
In the font color settings, for Highlight current line (active and inactive), set the foreground to Automatic
Finally you can set your highlight color as you want with the background color.
Last point, sometimes Visual Studio mess things up even more, you may have to restart it, or close/open your tabs... sadly, YMMV.
For VsCode 2021 version users
Workspace > Text-Editor > Render Line Highlight > none
Visual assist and vsvim extensions were conflicting. So I disabled it within the visual assist options.
Uncheck the option: Highlighting->Highlight results of Quick Find and Find in Files.
For some reason "esc" doesn't work .