One computer: VS2019 and VS2022 - themes

After I install VS2022, it had black theme (in VS2019 the Blue theme was good, because I got used it and I could differentiate them) and I loved it - for a while.
Then (I think after an update maybe) the theme of the 2 VS became the same.
Does anyone know the solution?

Related

PTVS - general IntelliSense problems - no error highlighting, no recognition of modules from other projects

I have used PTVS for two years now, and I remember (am I going crazy?) that PTVS always highlighted errors when working on a .py file in Visual Studio.
As of ~ Oct 10th (possible connected with v15.4 of VS2017), there have been issues with PTVS. In my frustration, I have completely reinstalled windows and wiped the entire computer clean. After installing drivers, I installed VS using the Visual Studio 2017 Community installer with the following options:
I then open Visual Studio, create a new empty python project, and type some garbage. No. Error. Correcting.
Am I going mad?
My python environment autocompletion / intellisense database is refreshed, by the way.
Meanwhile, the "View->Error List" window shows errors, even though they aren't highlighted.
Uninstalled the "Python native development tools" extension, still does not work. Installed with bare minimum python options (python language support, python 3.6, templates). Doesn't work.
Not sure if this is related (it probably is), Intellisense fails to recognize modules from other projects using any method. This was fine a week ago: (note green squiggles are Intellisense "Cannot resolve" errors)
I got the same issue as yours, but it could show the Red color in VS2015.
For this issue, I help you report this issue to the developer community site:
https://developercommunity.visualstudio.com/content/problem/132688/ptvs-general-intellisense-problems-no-error-highli.html
You could add your comment there.
For the second issue, about the module reference. Not the real Python team members, but maybe you could find a way here:
How to import functions from other projects in Python?
One thread for one issue, maybe you could start a new python issue for it.
This is a bug that fixed on 31 October 2017 with Update 15.4.2
Source
There was a bug in VS 2017 15.4, and apparently it will be fixed upon next release. For anyone experiencing these issues, VS 2015's Python Tools work if you need any of these functionalities.

Visual studio 2017 code color issue after update

I used to work comfortably with the Dark theme of VS. Today, I updated my VS to v.15.2(26430.4), but it suddenly run into a visual problem.
The colours of the code in Dark mode are terrible. I almost cannot see them clearly.
Any way to fix it? Thanks
I found some workarounds
by unchecking the Enable rich client visual experience. And then restart VS.
Another method is to choose color theme to Light and switch back to Dark again.
They fixed problem and pushed another update today. Here's the release notes:
Release Date: May 12, 2017 - Visual Studio 2017 version 15.2 (26430.06)
Issues Fixed in this Release
This is the customer-reported issue addressed in this version:
The v15.2 dark color theme fails to load after F# component in .NET workload is installed.
https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes
This happened to me (amongst others)
Restarting VS fixed it. (No options changes, just exit and start again.)
UPDATE: This is on the user feedback site and should be fixed by updating to 15.2 (26430.06) (published 12 May).
I am a dev. on the Visual Studio team. There are currently two official workarounds:
Uninstall the F# language support via the VS installer.
Ctrl+Q and search for 'theme' and select 'Environment -> General' and then switch from one theme to another and press 'Ok', then, repeat and switch back.
NOTE: Workaround #2 is only temporary. Installing a new extension or update will revert the colors back to their current state.
I have solved this problem.
In the Tools >> Option >> Text Editor >> C# >> Advanced >> Editor Color Scheme >> select different visual studio version
Restarting VS did not work for me.
I fixed it like this: In VS go to Tools -> Options -> Environment -> General -> Color theme. Switched to Light, clicked OK and then changed back to Dark. After this everything looked normal.

True-type fonts that I installed not rendered in Visual Studio 2010 Text editor

I am trying to change the font for the Text Editor in VS 2010 Ultimate on a machine running Win XP Professional SP3 (32bit), and it does not render any installed fonts correctly - works fine with the default fonts though. (At first, I thought it was only with Monaco font, but I recently realized that it's more than that.)
I have tested with some fonts, including Inconsolata, Futurist fixed-width and Monaco on my PC, and if I change the font to any true-type font that I installed, the font renders as Consolas although the font name in the Fonts and Colors window shows the new font name.
I was successfully able to apply Monaco font on a colleague's machine (we both have the same OS and VS editions). I could also change the font in VS 2008 on my machine, that looks fine as well. Also, I can change the font to any of the above said fonts in my MS Word and Excel applications, so I don't think it is a system-wide problem.
I came across this very old post on SO that addresses a similar issue (which might not even be relevant to the 2010), but I did try some of the techniques listed for what it's worth without any success.
This is what I did so far (not necessarily in the same order), and nothing worked -
Resetting the Visual Studio as per the suggestion in the comments
Restart the IDE after installing the font
Close VS, un-install and re-install the font, and open VS again
Open VS in safe mode, disable the extensions, re-open VS again
Repair/reinstall the Visual Studio
Is it a possibility that my VS is corrupted? (If that's the case, wouldn't repairing have fixed that?)
I also learnt from a Microsoft Connect bug that VS 2010 text editor has been rebuilt using WPF - could that be what is causing the issue? The strange thing is, I can successfully set the environment font (the font for VS menus, solution explorer window, etc.) to any font I like - I cannot set the font only for the windows where we can type text, like the Text Editor, Watch window, Immediate Window, etc.
Did anyone else come across this kind of problem? Does anyone have a solution? I am out of ideas now, and my last resort seems to be uninstalling VS completely and re-installing (but again, I am not sure if that will work either).
The issue looks to be with the way I had Visual Studio installed on my machine - last week, my PC started freezing and giving the fabled BSOD all of a sudden - the tech support guys suggested to re-image the machine, which I reluctantly agreed to since that was the cure-all for my aging machine. Today, the support engineer stopped by and swapped my existing hard drive with the new one they built for me - they had been kind enough to push my current applications onto the new image.
After the swap finished uneventfully, and the support guy did some sanity checks and gave a thumbs up, I installed the Monaco font again (from the same source as I did originally), and applied the new font, and opened a new project - and, lo and behold, I now see my code in Monaco font! Feels good to see Monaco font on my machine - this has been eluding me for about 8 months. I still am not sure what fixed the issue, but I am glad I could finally put an end to the frustration I had been having.

Visual Studio 2010 text turns blue and red at seemingly random times

Many times a day, on a new work computer, Visual Studio's code window turns red and blue all of a sudden! The problem only goes away if I restart that instance of Visual Studio or re-apply the fonts & colors settings, closing and opening a file/tab doesn't help.
Only the currently visible file gets the glitch at first when it happens, other open tabs generally retain their proper colors until I reopen them or I open new files - which are then shown with the glitched colors. Sometimes certain types of text in other open files turns blue though, like a virus spreading ;)
I'm guessing there's a plugin or a missing hotfix or glitchy graphics driver but I haven't figured out what the problem is yet and it's driving me nuts.
I've had this problem once before but don't recall how I fixed it, it's been a while since then and I have many similar installations since that's not showing this issue.
There's also a Microsoft Connect issue on it that is closed with status "cannot reproduce" - and it's easy for me to reproduce by simply launching IE9. Sometimes, however, the problem appears without me launching IE.
Visual Studio 2010 SP1 on Windows 7 SP1, ReSharper 6.1 and Reflector 7.5.4.20. I've disabled hardware acceleration in VS with no difference, it's an Nvidia Geforce 210 with a dual screen setup with primary screen on the right. Also, the markup shown is not written by me and contains no sensitive information
This seems to be a small hiccup with the dark theme in Visual Studio. It happened to me when I did a system resume with the VS project still open. The solution to this is just restarting Visual Studio. Works like a charm.
It seems it actually helped to update Nvidias graphics driver, even though it was just a few months old and for quite an old and trusted graphics card. Oh well - now I'm happy that the problem is gone, and upset that it was so easy.
Found this be searching for an answer to the same issue.
They way I fix it is to open Tools -> Options and then click on Environment -> Fonts & Colors to reset the coloring for the current buffer.
It appears to be VS is not recoloring the current buffer after locking the screen for at least 4 mins. I believe this to be a bug in the themes handling in VS, but I this is really the only place I could find this mentioned.
Just installed SP1 for VS 2010 hoping that it will help, but it does not.
I faced the same issue with vs2013...
This solved the issue..http://madskristensen.net/post/visual-studio-update-2-and-web-essentials

Scrolling in Visual Studio causes text to become unreadable

Since the past week I'm having a very bothering issue that blocks me from using Visual Studio.
For instance, here's what I normally see:
But as soon as I scroll a bit down (either with the arrow key, mouse wheel or the scroll bar), this is what I get:
As you can see, part of the frame seems to be "locked" in the screen.
The only way to see it right, is to make some other window cover VS's window, then going back to VS I see it right.
This is what I have tried (checking if the issue was solved after each step):
Check for updates
Repair VS2010
Remove R# and any other extension/add-in
Reinstall R# and any other extension/add-in
Remove VS2010 and any related software
Reinstall VS2010 + SP1 and updates
Remove any other unused software
Remove any recently installed/updated software
Run CCleaner
None of these steps solved the issue.
This happens only with VS2010, regardless the project or solution I'm opening.
I think you need to start looking beyond Visual Studio for issues. The next thing I'd look at is your graphics driver. Make sure you have the latest available version.
I have the same problem with VS 2012.
Scrolling up and down, does not refresh sections (rectangles) on my text editor view.
(unfortunately I've not enough reputation to post a screenshot.)
I managed to workaround it in VS 2012, by floating the editor.
i.e. Right Click on a file tab / Float All.
Otherwise I tried everything posted here, without any luck.
Hopefully someone out there knows how to undo this magic.
I had the same problem and it was due to the DameWare Development Mirror Driver.
I disabled it and the problem went away.
I'm having the same issue in VS 2015 pro.
Setting the editor windows to float fixes the problem which definitely looks like a bug in visual studio.
I'm on a Citrix virtual Desktop and the problem appears to be that a "column" of the editor (on the left side) is not redrawing properly after scrolling right, left, or down. For some reason scrolling up is fine.
For me, using VS 2013 Pro, the cause was having the JAWS Screen Reader installed, which, ominously, included a video interceptor. Once uninstalled VS started working normally again.
I had this same problem and it turns out it wasn't a graphics driver issue. The company I work for uses software that acts like a virtual monitor to remotely log into our PCs to install software and fix problems. It turns out that this extra virtual monitor was the problem. Disabling it fixed the scrolling in Visual Studio.
I had the same problem in Visual Studio 2017. When I changed the color theme to 'dark' the problem seemed to be fixed

Resources