Strange white bar in Visual Studio 2019 - visual-studio-2017

this is my first post here.
I have this problem that appears only by using Visual Studio (both 2017 and 2019) when working with Unity (2018.3.12f1): there is basically a white column on the left and I don't know what it should be.
I have no clue on how to remove it and it bothers me.
It appeared when I installed the first time VS 2019, since then it appeared on the 2017 version too. I uninstalled both and tried again only with the 2017 version but it is still there.
Does someone any way to remove that? Thanks in advance.
Image: https://imgur.com/vSXDSnx

The colour of that element is set in Tools | Options | Environment | Fonts & Colors under the Text Editor category it is the background colour of "Indicator Margin".
In VS2019's (and VS2017's) dark theme it has a default value of RGB(51, 51, 51).
Maybe your setting is messed up?
PS. Many user settings (including this) are preserved in your profile including across re-installations and versions. These can be reset under Tools | Import or Export Settings.

Related

Visual Studio 2019: Debugger shows incomplete vector variable information

The issue
Working in C++, VS 2019 Professional 16.0.4.
Whilst in debug, when hovering over a variable you usually get a tool-tip, which is expandable for vectors showing their contents.
In my case this tool-tip is not expandable.
Also, the bigger problem is that adding the specified variable to watch or using the quick watch/Locals/Autos windows, I see missing elements in the expanded vector:
Using the immediate window to see variable contents works fine, but it is a bit cumbersome.
What I tried:
Tried deleting the .vs folder, with no luck.
Trying to reproduce in a small console application does not work.
Tried to update, Installer says it's the latest version of VS.
"Repair VS installation"
Clean & Rebuild
Do you have any suggestions?

Visual studio 2019 Custom colors overridden

I have just upgrade from VS2017 to VS2019 and I have my own colors on classes, enums etc. that I would like to be the same in VS2019. I export all my settings, install all the same extension (for example Viasfora, SemanticColorizer) from VS2017 in VS2019, and then import my settings from VS2017.
I open a .cs file and I see my colortheme and 1sec later the colors change to some standard colors.
I have tried the unchecking the "Use enhanced colors for C# and Basic" under options.
And hereĀ“s the kicker, the "code preview side-window" shows the right colors...
Anyone got an idea of what this is and how to solve it?
Regards
Ok, from what I have learned so far is that there are more parameters for color customizations in VS19 and there is some name changes that stops the import.
What I did was installing VS theme editor(VS19ThemeEditor)
Changed a bunch off settings in there.
Then I added SemanticColorizer and ViasFora, then went to Tools-->options-->Enviroment-->Font and colors. Changed alot of things there.
And for fun added ClaudiaIDE
TL;DR
You cant export from VS17 to VS19 and expect colors to be the same, you need to edit them again.

Less compiler issue (probably)

I have installed the less compiler extension
https://github.com/madskristensen/LessCompiler
When I create a less file and save it, it isn't building CSS and min.css file for me.
In the lower right corner, I clicked on the watermark and less is enabled for the project. What am I missing here?
Please take a look at the screenshot.
Update 1:
I have created a test MVC site and added a less file to it. No CSS getting generated over here as well.
Update 2:
I have installed web essential 2017 and WebCompiler is there now. Still no css files. Selecting the file and Shift+Alt+Q not working. Also when i right click on the file, i don't get re-compile menu option as being discussed in the following thread:
https://github.com/madskristensen/WebCompiler/issues/299
I am using Visual Studio Enterprise 2017 version 15.5.6
Had the same issue. For me it turned out node was no longer in my path which is required to compile. The output tab has a drop down with LESS compiler as an option to help troubleshoot.

Code Coverage Coloring in VS 2012 not working

As the title says, the coloring is not working. If I to go tools > options and look for 'Coverage Touched' etc in the list of Fonts and Colors, they don't exist there.
If I run the tests with the option to analyse them for coverage, no colors show up in the editor. I have VS 2012 Premium update 3 installed.
I already:
resetted usersettings
ran in safemode (can't run tests then, so useless)
re-installed VS
rebooted everything
A colleague of mine used the exact same installer/image, and it works for him...
Any ideas anyone?
I resetted Userdata (for the 10th time) and I noticed that by default it migrates the settings from 2010 or something. I now unmarked that checkbox, and the problem is now solved.
I'm not 100% sure if the checkbox was the problem, but thats the only difference I can recall.

VS2010 Intellisense problems

This question actually is an implicit answer, since I could fix the problem in the meantime for myself. But I wanted to publish my experience, since some other developers might have a similar problems.
The problem:
I am using VS2010 prof SP1 on Windows XP SP3, pure C++ only. (AntiVirus software present).
Since some days Intellisense - which is quite helpful under normal conditions - does not work anymore.
Things tried:
created a new simple console application. -> Intellisense still not working.
resetting VS-Settings by means of Tools/Import & Export Settings/Reset. -> Intellisense still not working
Changes to option settings in Text-Editor/C++/Advanced inclusive logging did not help.
-> Intellisense still not working
There was actually an interesting observation:
Intellisense normally creates a directory 'ipch' in the solution directory to store intermediate files. In my solution folders it disappeared as soon as the solution was opened. When I created a folder 'ipch' and opened the solution Intellisense removed the folder again - strange.
The final fix:
During the last week some new Windows updates were installed. I noticed some other unusual behaviour of my PC as well. After having created an image of my PC, I decided to
uninstall Windows updates from 2013-09-11 (4 packages) and one update from 2013-08-28.
(unfortunately I did not note down the KB-numbers)
AND: out of a sudden Intellisense is working again !
Maybe this report could be helpful for some other persons.
Automatic Updates are now disabled on my PCs.
Confirmed 100%
Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel
Microsoft NET framework 4.0.30319 RTMRel
Microsoft Windows XP Professional Version 2002 Service Pack 3
Intellisense stops working after installing KB2876217.
Intellisense is back after removing update.
I had the same problem and also had the idea that one of the Windows Updates is buggy, so I can confirm your report.
I tried to uninstall them one-b<-one and found the "bad guy":
KB2876217 destroys intellisense for VS2010 under XP SP3.
A supported hotfix is available from Microsoft to fix this issue. Check at http://support.microsoft.com/kb/2526044/en-us
Actually, it may not be such a good idea to uninstall update KB2876217. Instead, install Visual Studio SP1 update (if not already installed) and then install update KB2526044. I have tried it before and it does work...