Home > Back-end >  VSCode colour highlighted area
VSCode colour highlighted area

Time:12-17

When I am in a function or in a segment of a loop this area is colored. It's annoying me. How to get rid out of it? Disabled some extension, doesn't fix that.highlighted area, I want to not get this highligting feature.

I have disabled some color and auto tag extensions. Doesn't get help.

CodePudding user response:

The highlighted area you are seeing in Visual Studio Code is called the "current line highlight". This feature is designed to make it easier to identify the current line of code you are working on.

To disable the current line highlight, you can follow these steps:

  1. Open the Settings editor in Visual Studio Code by going to File > Preferences > Settings or by pressing Ctrl , (comma).
  2. In the search bar at the top of the Settings editor, type "highlight" and press Enter.
  3. In the search results, you should see a setting called "Editor: Render Current Line".
  4. Click on the toggle to the right of the setting to disable it.
  5. Close the Settings editor and the current line highlight should no longer be displayed.

Alternatively, you can disable the current line highlight by adding the following line to your settings.json file:

"editor.renderLineHighlight": "none"

CodePudding user response:

Actually, it happened for an extension named "Indented Block highlight." After disabling the extension, that area highlighting is gone away.

  • Related