skip to Main Content

Is there any way to dim/hide semicolons and curly braces in VS Code? (I want to do this for all languages).

2

Answers


  1. I could be wrong, but I don’t think such a thing exists (at least at the time of this writing).

    I looked through the generic customization points in editor.semanticTokenColorCustomizations > rules and in editor.tokenColorCustomizations and didn’t see anything in particular for braces, semicolons, or punctuation.

    I think you’ll have to do this on a per-language basis, which is the usual route of using the Developer: Inspect Editor Tokens and Scopes command and getting scopes and writing colour customizations for each one.

    Login or Signup to reply.
  2. Have you tried Customize UI extension?

    https://marketplace.visualstudio.com/items?itemName=iocave.customize-ui#:~:text=Customize%20UI%20relies%20on%20the,%22Enable%20Monkey%20Patch%22%20command.

    Once you get that add these line in the settings.json file:

    "customizeUI.stylesheet" :{
      ".punctuation": {
        "color": "transparent"
      }
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search