Skip to content

Instantly share code, notes, and snippets.

@sukheja-varun
Last active October 2, 2020 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sukheja-varun/9685c950c7816859374302f53e592717 to your computer and use it in GitHub Desktop.
Save sukheja-varun/9685c950c7816859374302f53e592717 to your computer and use it in GitHub Desktop.
Settings for VS Code better comments to beautify your comments.

Add below settings to your vscode settings.json file and don't forget to install the vs code plugin better comments

Better Comments: logic24by7.com

Below mentioned settings will help you get the comments as shown in the screenshot above.

"better-comments.tags": [
    {
      "tag": "!",
      "color": "#FF2D00",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "?",
      "color": "#3498DB",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "//",
      "color": "#F0F2F5",
      "strikethrough": true,
      "backgroundColor": "transparent"
    },
    {
      "tag": "*",
      "color": "#98C379",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "todo:",
      "color": "#000000",
      "strikethrough": false,
      "backgroundColor": "#ffff00"
    },
    {
      "tag": "note:",
      "color": "#000000",
      "strikethrough": false,
      "backgroundColor": "#DF38FF"
    },
    {
      "tag": "hack:",
      "color": "#000000",
      "strikethrough": false,
      "backgroundColor": "#FF8C00"
    },
    {
      "tag": "fix:",
      "color": "#000000",
      "strikethrough": false,
      "backgroundColor": "#FF2D00"
    },
    {
      "tag": "optimize:",
      "color": "#000000",
      "strikethrough": false,
      "backgroundColor": "#98C379"
    },
    {
      "tag": "@critical",
      "color": "#FF2D00",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "@high",
      "color": "#FF8C00",
      "strikethrough": false,
      "backgroundColor": "transparent"
    },
    {
      "tag": "@low",
      "color": "#98C379",
      "strikethrough": false,
      "backgroundColor": "transparent"
    }
  ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment