Request: user-configurable code template
Posted: Thu Aug 18, 2011 3:55 pm
I'm interested in a plugin which integrate a user-configurable code template collection, like WebEdit for Notepad++? Maybe it's already available, but I can't find anything like that for AkelPad.
More info about WebEdit can be found on this page:
http://sourceforge.net/projects/npp-plu ... s/WebEdit/
More info about WebEdit can be found on this page:
http://sourceforge.net/projects/npp-plu ... s/WebEdit/
WebEdit is another attempt to integrate a user-configurable code template collection into Notepad++. With WebEdit you have the following options:
- create a menu command for pasting some text, possibly surrounding the current selection, if any. Imagine selecting a word and putting "<p>...</p>" around it with a single hotkey. You can create up to 30 such commands and assign keyboard shortcuts to them, or simply use the menu;
- the same 30 commands can also be represented by buttons on the main toolbar for quick access with the mouse;
- you can create a set of "tags" or abbreviations. Type one of them, then press Alt+Enter and it will be replaced with the corresponding block of text. If the replacement consists of multiple lines, all of them will be indented same as the first one. The caret will be placed in a predefined position within the new text. You can have the current clipboard contents (e.g. a function name) pasted on expansion.
The plugin configuration is stored in the WebEdit.ini file. Use "WebEdit\Edit Config" command from the "Plugins" menu to open the file in Notepad++ for editing.
All keyboard shortcuts can be assigned/modified using the standard Shortcut Mapper. For more information see the WebEdit.txt help file.