Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Comment 6New to Visual Studio Code? Get it now.

Comment 6

Pouya Kary

kary.us
|
21,433 installs
| (7) | Free
The easiest way to to decorate your codes with Kary Comments in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Comment 6 ✨

With ❤️ by Dragon's Lover.

Comment 6 is a way to decorate your code with titles and separator lines to organize the portions of a file. I have always had a really hard time to keep track of where a function starts and where it ends. While there are millions of ways to tackle the problem, I simply wanted to have what I had in notebooks: good old lines.

With Comment 6 you can simply create these headings:

Screen recording of comment generation in Comment 6

And edit them whenever you want:

Screen recording that shows the editing of a comment in Comment


🧨 LOOKING FOR THE LEGACY VERSION?
Comment 6 is a fully rewritten version. Every line of it is fully brand new. If you wish, you can download the last version of Comment V from it's GitHub releases.


Notes 💡

  • Indentation Matters — The way comment works is that you pick an empty line and indent as far as you wish your comment is going to be indented. You then start typing the comment and then use the menu or keybindings to generate the comment. The size and indentation of your resulting comment is determined by that indentation.

  • Only Use These Comments To Create Logical Parts In Your Codes — Try to separate, types, functions, classes, the parts of the classes. The More organized you are the better.

  • Adopt The Clarity Style To Your Codes — Try to have files that are minimal as possible. Have one class per file if you can. When a file move to more than a few hundred lines try to break it into different files. Try to write the best code you can. It always pays the efforts.

Keybindings

Comments Keybindings
🔧 Creating Title Comment alt + y
🔨 Creating Separator Comment alt + l
🧨 Editing Title Comment ctrl + alt + cmd + y

NOTE 💡
These keybindings are chosen such that they are both easy to use within QWERTY and Dvorak layouts.




  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft