Will triggers automatically wrap around a hightlighted section of code? Trigger 
characters have been in CF Studio/HS for a long time, though they are called 
"Code Templates". Just enter a couple of trigger letters and then "crtl+j". 

For those who do not know: To add a "Code Templates" in CF Studio/HS, go to 
Options > Setting > Code Templates.

>You can't assign keyboard shortcuts to snippets in exactly the same way 
>as you can in Homesite, but you can do something that is potentially 
>much more powerful.
>
>For each snippet you can assign a set trigger trigger characters such as 
>"cff" for a snippet that inserts a cffunction block. When you type that 
>trigger followed by ctrl+i it will insert the snippet and prompt you for 
>any custom snippet variables in the snippet. You can configure a 
>different shortcut to use instead of ctrl+i.
>
>The reason that this is much more powerful is that it allows you to have 
>an infinite number of snippets assigned to shortcuts without having to 
>sacrifice existing keyboard shortcuts. It does require typing an extra 
>character or two, so your mileage may vary.
>
>Spike
>
>Paul Malan wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190346
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to