Highlight specially marked comments in different colours to make notes, warnings, TODOs, and annotations stand out while coding. And it doesn't affect Doxygen or JSDoc.
Features
Styled Comments applies colours only inside real comments (line comments and block comments) and supports many languages and even .txt files (#;).
Example for text files:
Supported symbols
Symbol
Meaning
Style
?
Question / uncertainty
Blue
*
Important note
Lime green
!
Warning / alert
Red
@
Mention / reference
Yellow
TODO:
Task / reminder
Bold + yellow
$
Cost / money related
Purple
&
Connection / related info
Brown
#
Tag / category
Orange
%
Performance / metrics
Light green
~
Approximate / soft note
Pink
`
Code / technical detail
Blue
^
Improvement / optimization
Teal
Support
Currently This supports the following languages id(s) :
dart
csharp
java
go
groovy
c
cpp
asm
nasm
llvm
gas
rust
zig
odin
powershell
shellscript
python
cmake
lua
jsonc
sql
html
css
plaintext
javascript
typescript
javascriptreact
typescriptreact
Usage
Simply place one of the supported symbols at the start of a comment.
Line comments
// ? What should this function return? // * This is really important! // ! Warning: This might cause issues // @ Remember to check with John // TODO:Fix this bug // $ This costs $50 per month // & Related to the user authentication // # Feature: Login system // % Performance impact needs review // ~ Approximately correct behaviour // ` This involves low-level code // ^ Can be optimized later