简体   繁体   中英

In Visual Studio Dark Theme how to get rid of white rectangle surrounding active line of code?

screenshot of rectangle in editor

In Visual Studio Dark theme there is a white rectangle surrounding the active line of code in the editor. This rectangle kind of ruins the clean black background and popping text. The settings under Tools>Options>... seem to be able to change the text forecolor/background color only and not the rectangle itslef. Anyone knows how to solve this? Also VS Code doesn't have this quirk.

文本编辑器选项中,您可以取消选中突出显示当前行

打开settings.json文件并添加以下行:

"editor.renderLineHighlight": "none"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM