HKhademian / better-comments

Home Page:https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better Comments

The Better Comments extension will help you create more human-friendly comments in your code.
With this extension, you will be able to categorise your annotations into:

  • Alerts
  • Queries
  • TODOs
  • Highlights
  • Commented out code can also be styled to make it clear the code shouldn't be there
  • Any other comment styles you'd like can be specified in the settings

Annotated code

Configuration

This extension can be configured in User Settings or Workspace settings.

"better-comments.multilineComments": true
This setting will control whether multiline comments are styled using the annotation tags. When false, multiline comments will be presented without decoration.

"better-comments.highlightPlainText": false
This setting will control whether comments in a plain text file are styled using the annotation tags. When true, the tags (defaults: ! * ? //) will be detected if they're the first character on a line.

better-comments.tags
The tags are the characters or sequences used to mark a comment for decoration. The default 5 can be modified to change the colors, and more can be added.

"better-comments.tags": [
  {
    "tag": "!",
    "color": "#FF2D00",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
  },
  {
    "tag": "?",
    "color": "#3498DB",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
  },
  {
    "tag": "//",
    "color": "#474747",
    "strikethrough": true,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
  },
  {
    "tag": "todo",
    "color": "#FF8C00",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
  },
  {
    "tag": "*",
    "color": "#98C379",
    "strikethrough": false,
    "underline": false,
    "backgroundColor": "transparent",
    "bold": false,
    "italic": false
  }
]

Supported Languages

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

About

https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments

License:MIT License


Languages

Language:TypeScript 25.4%Language:Clojure 24.1%Language:Common Lisp 9.2%Language:C# 5.2%Language:Nim 5.1%Language:Python 4.7%Language:Perl 3.2%Language:Racket 3.0%Language:Pascal 2.7%Language:COBOL 2.1%Language:JavaScript 1.8%Language:Vue 1.2%Language:Dart 0.9%Language:PigLatin 0.8%Language:Verilog 0.8%Language:HTML 0.8%Language:ShaderLab 0.7%Language:Stata 0.6%Language:Tcl 0.6%Language:CSS 0.6%Language:Elm 0.6%Language:ColdFusion 0.5%Language:Haskell 0.4%Language:GDScript 0.4%Language:HiveQL 0.4%Language:SAS 0.4%Language:PowerShell 0.4%Language:TeX 0.3%Language:Elixir 0.3%Language:Apex 0.3%Language:Groovy 0.3%Language:HCL 0.3%Language:Fortran 0.3%Language:D 0.3%Language:PHP 0.3%Language:Puppet 0.2%Language:MATLAB 0.2%Language:Brightscript 0.2%Language:Lua 0.2%Language:Shell 0.1%