Sublime Forum

Modify the toggle_comment command - How?

#1

Hi. I’d like to modify the toggle_comment command so that when I do CTRL+/ it adds an extra hyphen in the command (ColdFusion uses three hyphens for comments).

Right now it only does…

<!-- hey there -->

when I do CTRL+/ but I want …

<!--- hey there --->

Also, it’d be great if it removed the three hyphen comment when I run the key combo again on it.

Thanks!

0 Likes

#2

Thanks! I see Comments.tmPreferences under the ColdFusion package, but when I do a comment, it’s triggering the Comments.tmPreferences under the HTML package NOT ColdFusion. How do I tell Sublime to use the preferences for ColdFusion. On Windows, I have the package files (and also Comments.tmPreferences) under:

C:\Users\soopauser\AppData\Roaming\Sublime Text 2\Packages\ColdFusion

1 Like