Sublime Forum

Create additional comment type to same language

#1

From my understanding, there are only two types of comments:

  • Single line (macOS: cmd + /)
  • Block (macOS: cmd + Option/Alt + /)

Currently you can only tigger comments either as Single line, or Block.

If I want to add additional single line comment type, so that now I have:
Single_Line_Type1 (i.e. uses // to comment out)(triggered by cmd + /)
Single_Line_Type2 (i.e. uses ## to comment out)(triggered by cmd + .)
Single_Line_Type3 (i.e. uses * to comment out)(triggered by cmd + ,)

How may I achieve that? I wish to apply this new comment settings to markdown filetype .md, if possible.

Thank you so much!

0 Likes