Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Color CommentsNew to Visual Studio Code? Get it now.
Color Comments

Color Comments

wycliffe Pepela

|
2,069 installs
| (0) | Free
| Sponsor
Annotate your code with alerts, information, TODOs, and more to improve your code commenting!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Color Comments

The Color Comments plugin will assist you in creating more human-friendly code comments. You will be able to categorize your annotations using this extension:

  • Commented-out code can also be formatted to indicate that it should not be present.
  • You can choose any additional comment styles you like in the settings.
  • TODOs
  • Alerts
  • Highlights
  • Queries

Annotated code

Configuration

This extension may be set up in either User or Workspace settings.

"Color-comments.multilineComments": true
This option determines whether multiline comments are formatted using annotation tags. When set to false, multiline comments are shown without adornment. Color-comments.tags
The tags are the characters or sequences used to designate a comment. The colors of the default 5 may be changed, and more can be added.

"Color-comments.highlightPlainText": false
This option determines whether comments in a plain text file are formatted using annotation tags. When set to true, tags (defaults: '! *? //') are recognized if they are the first character on a line.

Supported Languages

  • Ada
  • AL
  • Apex
  • AsciiDoc
  • BrightScript
  • C
  • C#
  • C++
  • GenStat
  • Go
  • GraphQL
  • Groovy
  • Haskell
  • Haxe
  • HiveQL
  • HTML
  • Java
  • JavaScript
  • JavaScript React
  • JSON with comments
  • Julia
  • PHP
  • Pig
  • PlantUML
  • ColdFusion
  • Clojure
  • COBOL
  • CoffeeScript
  • CSS
  • Dart
  • Dockerfile
  • Elixir
  • Elm
  • Erlang
  • F#
  • Fortran
  • gdscript
  • PL/SQL
  • PowerShell
  • Puppet
  • Python
  • R
  • SQL
  • STATA
  • Stylus
  • Svelte
  • Swift
  • Tcl
  • Terraform
  • Twig
  • TypeScript
  • TypeScript React
  • Verilog
  • Visual Basic
  • Vue.js
  • XML
  • YAML
  • Racket
  • Ruby
  • Rust
  • SAS
  • Kotlin
  • LaTex (inlc. Bibtex/Biblatex)
  • Less
  • Lisp
  • Lua
  • Makefile
  • Markdown
  • Nim
  • MATLAB
  • Objective-C
  • Objective-C++
  • Pascal
  • Perl
  • Perl 6
  • Sass
  • Scala
  • SCSS
  • ShaderLab
  • ShellScript
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft