DEV Community

loading...

Discussion on: Vscode comment

Collapse
thomasxbanks profile image
Thomas Banks • Edited

If you want to do it without a plugin.

  1. Open settings. If you have configured it to open as json by default, skip to step 4.
  2. Search for "token color customization"
  3. Select "Edit in settings.json" underneath Editor: Token Color Customizations
  4. At the bottom of the file, just before the very last }, paste the following code:
"editor.tokenColorCustomizations": {
  "textMateRules": [
    {
      "scope": ["comment",
        "comment.block",
        "comment.block.documentation",
        "comment.line",
        "comment.line.double-slash",],
      "settings": {
        "foreground": "#ffffffff",
      }
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Save the settings file and you're good to go 😊

Forem Open with the Forem app