This plugin provides a way to easily prepend and append one or more characters to the beginning or end of lines. Character(s) are prepended/appended to the current line if there is no selection, or all selected lines if there is a selection.
The plugin provides the following four actions:
Prepend...
Displays a dialog to input the character(s) to prepend. There's also a checkbox labeled "Set as default" to save the character(s) as the default characters to prepend.
Prepend Default
Prepends the character(s) previously saved as the default characters to prepend (via the "Prepend..." action).
Append...
Displays a dialog to input the character(s) to append. There's also a checkbox labeled "Set as default" to save the character(s) as the default characters to append.
Append Default
Appends the character(s) previously saved as the default characters to append (via the "Append..." action).
The actions are accessible via the Tools menu in the Prepend/Append group. No keymappings are associated with the actions by default, but you can find them in the Editor Actions group in the Keymaps dialog to assign your own.
This plugin was tested with IntelliJ IDEA 3.0 Build 668 on Windows 2000.