Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Better Comment ColorsNew to Visual Studio Code? Get it now.
Better Comment Colors

Better Comment Colors

dongxn

|
4 installs
| (0) | Free
Independent theme colors for Better Comments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Better Comment Colors

Independent theme colors for Better Comments.

Features:

  • Custom comment color IDs
  • Automatic dark and light theme adaptation
  • No modification of built-in VS Code theme colors
  • No runtime dependencies

Bettercomment Colors has registerd several colors as follows:

        "colors": [
            {
                "id": "bettercomment.important",
                "description": "Important comments",
                "defaults": {
                    "dark": "#98C379",
                    "light": "#287A3D"
                }
            },
            {
                "id": "bettercomment.warning",
                "description": "Warning comments",
                "defaults": {
                    "dark": "#FF5370",
                    "light": "#C62828"
                }
            },
            {
                "id": "bettercomment.question",
                "description": "Question comments",
                "defaults": {
                    "dark": "#61AFEF",
                    "light": "#1756A9"
                }
            },
            {
                "id": "bettercomment.extra",
                "description": "Extra information comments",
                "defaults": {
                    "dark": "#E5C07B",
                    "light": "#8A6500"
                }
            },
            {
                "id": "bettercomment.reference",
                "description": "Reference comments",
                "defaults": {
                    "dark": "#56B6C2",
                    "light": "#147D85"
                }
            },
            {
                "id": "bettercomment.design",
                "description": "Design principle comments",
                "defaults": {
                    "dark": "#AE81FF",
                    "light": "#7839B5"
                }
            },
            {
                "id": "bettercomment.deprecated",
                "description": "Deprecated comments",
                "defaults": {
                    "dark": "#7F848E",
                    "light": "#6A737D"
                }
            },
            {
                "id": "bettercomment.section",
                "description": "Section heading foreground",
                "defaults": {
                    "dark": "#D4D4D4",
                    "light": "#333333"
                }
            },
            {
                "id": "bettercomment.sectionBackground",
                "description": "Section heading background",
                "defaults": {
                    "dark": "#36465D",
                    "light": "#EAF2FF"
                }
            }
        ]

If you want to modify the colors, you can directly override the currently registered colors in settings.json, for example:

"workbench.colorCustomizations": {
    "[Dark+]": {
        "bettercomment.important": "#A6E22E"
    },
    "[Light+]": {
        "bettercomment.important": "#206A35"
    }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft