Display Name
Display Name

Reputation: 15121

How to remove editor match bracket lines in VS Code?

I want to remove the distracting match bracket lines below.

enter image description here

The settings that I have used so far are:

{
    "editor.renderLineHighlight": "none",
    "editor.matchBrackets": "never"
}

Upvotes: 2

Views: 2234

Answers (3)

ssbrar
ssbrar

Reputation: 168

This worked for me:-

  1. open settings.json CTRL + SHIFT + P and type "Open Settings (JSON)"

  2. paste the following code at the bottom:-

    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs": "active",
    "editor.matchBrackets": "near",
    "editor.guides.highlightActiveBracketPair": false,
    

Upvotes: 0

Manohar Reddy Poreddy
Manohar Reddy Poreddy

Reputation: 27525

On a similar issue:

Below is what I was looking for (removes vertical lines on left):

File: settings.json

Setting:

"editor.guides.indentation": false

Old that does not work anymore:

"editor.renderIndentGuides": false

More details: https://code.visualstudio.com/docs/getstarted/userinterface#_indent-guides

Upvotes: 5

Display Name
Display Name

Reputation: 15121

Thank rioV8 for your comments.

Add the following settings:

"bracketPairColorizer.showHorizontalScopeLine": false,
"bracketPairColorizer.showVerticalScopeLine": false

Upvotes: 0

Related Questions