As an example, back when I used MultiEdit, I could type "if<space>" and it would expand to:
Code: Select all
if (<cursor>) {
}
Code: Select all
if (<cursor>) {
}
E.g. open up JavaScript file, type in "func" and press tab key. Hey, presto, you get basic structure for new function definition.Add new Abbreviation
Make sure you are adding the abbreviation to the correct highlighter by selecting it under the "Abbreviations" node. If not available, add a new highlighter folder.
Type an abbreviation e.g. "tc" for try ... catch block. Add variables for tab stops. You can click on the [...] buttons to insert variables and variable commands. And type the code that should be expanded when you type the abbreviation and hit e.g. TAB.
I don't quite understand that last line... I think it is referring to the 'Press new shortcut key' option in 'Edit item', but that's not really what I want; I certainly don't want to have to memorize control-keys for every macro that I want to create, that would be a mess...Add new Abbreviation
[...]
Type an abbreviation e.g. "tc" for try ... catch block. Add variables for tab stops. You can click on the [...] buttons to insert variables and variable commands.
And type the code that should be expanded when you type the abbreviation and hit e.g. TAB.