How can I remove the spacing between methods and properties?

Asked

Viewed 30 times

0

I’m using the most updated Visual Studio 2017 Preview, and I’ve tried to uninstall and reset the settings, but this spacing remains independent of what I do.

Espaçamento entre linhas

How can I remove this?

1 answer

0

See the image below:

enter image description here Usually these "gaps" between the lines are "helpers" that the editor shows, things that he wants to show but that are not really written in the code.

Check its properties and syntax options Highlight. It may be that in your case these "helpers" are being written with the same background color and so you don’t see them.

  • Apparently also not that, I put the standard theme of Visual Studio and remains in the same situation.

  • @danspark It may be the setting of codelens (these helpers that come in some verses of VS). Try disabling: https://stackoverflow.com/questions/20457796/how-to-turn-off-codelens-references

  • Actually, Codelens was enabled in all languages, but it was disabled in C#, when I deactivated everything went back to normal, maybe it’s a bug because it is the Preview version?

  • @danspark You’ll know... but it seems like you can change the colors of code Lens tb that I would try because when you change the theme changes everything together and it may be that the theme is misconfigured

Browser other questions tagged

You are not signed in. Login or sign up in order to post.