You can create a code snippet which inserts CFML comments, and then assign
Ctrl + Shift + M to that snippet. I think Studio asks if you're sure you
want to assign that key combination to the snippet, since, as you said, it
is already assigned to HTML comments.
I've created other snippets to insert ##, (), and <cfoutput>##/<cfoutput>
and then assigned them to Ctrl + 3, Ctrl + 0 and Ctrl + Shift + O,
respectively. They're very helpful, save a lot of time, and keep my hand off
of the mouse. :-)
Snippets are your friends.
HTH,
Matthew
-----Original Message-----
From: Chris Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 10:27 AM
To: CF-Talk
Subject: Changing CF Studio Shortcuts
Hi.
I was wondering if it is possible to change the shortcut for
control+shift+m. Currently, it will insert regular html comments, but I
would like it insert cfml comments. I went into the Options->Customize
menu, and looked at the keyboard shortcuts, but it doesn't look like you can
edit what the shortcut does, only assign or re-assign a shortcut. There
also does not appear to be an entry for CFML comment. IS there a way I can
do this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists