Feat. request: Assigning shortcuts to templates |
|
I use Code Templates.
you can type this to try them out:
which inserts
Try pressing [ctrl+j] to see their preset code templates. Build your own by going to toos->settings->Editor->Code Templates TW |
||||||||||||||||
|
|
Yeah ... I use code templates as well. For some code templates though, using <ctrl-j> just takes too long, too many actions. That was the reason for my request ... it would really help if I could add keyboard shortcuts to my specific code templates. Such as <ctrl-shift-m> to add the code I use for template-variables... which I use everywhere and very frequently.
|
||||||||||||
|
|
It will only bring up a list of code templates if it finds more then one.
If I have a temlate named 'doc' that expands to:
And another named 'doc_todo' that expands to:
Then typing doc[ctrl+j] will bring up both in a select list at the cursor with the most likely match at the top. In this case 'doc'. But if I name "doc" as "z" then I don't have this problem since I do not have any other z's in my code templates. You could do somethign similar for templates that are the most important and save a shortcut for other commands. z[ctrl+j] is just about as fast and a lot less finger strain then ctrl+shift+M[/code] |
||||||||||||||||
|
Feat. request: Assigning shortcuts to templates |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by