This repo is a fork of the original "Hermes Comments" extension.
I've just replaced the default segments(*, /, =) with a hash sign(#), because I mainly use it for my config files(.zshrc, .zprofile...)
As I said, this is a slightly modified version to suit my personal needs.
If you have any bugs, don't bother yourself reporting them.
I likely won't fix them.
Using shortcuts you can now turn a selected text into one of three
possible formats, centered, left justified or subsection.
The shortcuts are:
alt+shit+p Creates a centered title
alt+shift+l Creates a left justified title
alt+shift+o Creates a subtitle
alt+shift+; Creates a separator line
You can decide which characters will be used to create the comments using the settings,
just copy paste the following lines into your settings.json file:
maximum is the maximum level of alignment , i.e the horizontal width of a title.
fill is the character used to fill the empty space in a frame.
When a comment contains the special characters
\ the frame is different.
title defines the character used for Doxygen documented frames.
separator defines the character used for the separator bar.
It won't handle comments whose length is bigger than the maximum length of characters
(90 by default).
None more known, please report bugs, issues and feature requests to the
- Modified the way the special comments are generated to prevent them from messing
the Doxygen documentation.
- Corrected a bug where spacing lines would get deleted
- Added support for pre-existing comments.
- Added the option to customize the characters used to make a frame.
- Added a special frame that is created for comments containing the word
Initial release of hermes comments