Visual Studio 2010 C # Outlining not working properly

So, code blocks (which can be collapsed as #region blocks) have corresponding markers (+ characters) to the left of the text editor. These markers should be placed right where the code block begins. My problem is that they are slightly shifted up.

Here is a screenshot in case I do not explain the problem clearly enough: http://img191.imageshack.us/img191/3489/04071173010.jpg

upd: This behavior is caused by the extension (thanks Nija). In my case, it was a Zoom presentation. However, disabling and enabling this option resolved the issue again.

Thanks for the help!

+4
source share
2 answers

Try to remove the automatic selection mode by going to the menu "Tools"> "Options"> "Text Editor"> "C #"> "Advanced" and "Cancel". "Enter selection mode when opening files."

Restart Visual Studio.

If this does not work, try installing Addivity Power Tools , which will add more features to existing Visual Studio features and may fix your plan.

If all else fails, you may need to remove / restore.

0
source

What often helps me in this situation ... is to quickly remove all xmlns namespace definitions and then add them back using undo (Ctrl-Z) .

I know, strange, but often works.

0
source

Source: https://habr.com/ru/post/1347030/


All Articles