'Why have my style rule tips disappeared from Visual Studio?
For some reason the code style tips (if that's the right term) have disappeared from my Visual Studio text editor. By this I mean the little grey squares that appear by the vertical scrollbar, and the accompanying dots that appear in the text, when a rule is contravened. This is how it used to look:
Now all that has suddenly gone, the grey square, the little dots and the drop down.
This was Visual Studio 2019. This morning I installed VS2022 and that's when I noticed that they weren't there, and then I ran VS2019 and they're no longer there either! I don't know if the installation of VS2022 has anything to do with it, but either way I can't work out how to get them back. I have a .editorconfig file, but that hasn't changed.
Solution 1:[1]
Without any more information, there's not much anyone can say to help.
- Try restarting your machine.
- Try uninstalling and reinstalling VS.
If it still doesn't work, you have two options:
- Submit a support ticket with the VS team, or
- Look into using a different code analyzer. Personally, I use JetBrain's ReSharper. https://www.jetbrains.com/resharper/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Justin Erdmier |

