Home Download Buy Blog Forum Support

Modify the toggle_comment command - How?

Modify the toggle_comment command - How?

Postby sublime_user on Thu Sep 01, 2011 4:36 am

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...

Code: Select all
<!-- hey there -->


when I do CTRL+/ but I want ...

Code: Select all
<!--- hey there --->


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

Thanks!
sublime_user
 
Posts: 13
Joined: Wed Aug 03, 2011 9:17 pm

Re: Modify the toggle_comment command - How?

Postby sublime_user on Thu Sep 01, 2011 3:17 pm

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
sublime_user
 
Posts: 13
Joined: Wed Aug 03, 2011 9:17 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 27 guests