skip to Main Content

Is there a way to highlight the scope of a bracket when the cursor is next to it?

Recently, I have been playing around with Dr Racket (IDE for racket language) and I noticed a really convenient and cool feature for quickly visualization of its scope.

Since racket uses mostly "(" and ")" , having these nested is a nightmare but this feature makes it so easy to complete the pair bracket.

I just wonder if there is something similar to this in VScode otherwise I will have to create my own extension.

I tried finding this feature in the marketplace and vscode settings but did not find any similar feature to this.

2

Answers


  1. Use VS code extension Bracket Pair colonizer 2. WARNING : Deprecated but works well

    Login or Signup to reply.
  2. Also try below steps for brackets colorization

    1. Open the command palette (Ctrl+Shift+P).
    2. Type and select Preferences: Open Settings (JSON).
    3. Add or ensure the following settings are present:
    
        "editor.matchBrackets": true
    
    

    Here you can see JSON

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search