If there is no selection in the editor, this action toggles the case of the character immediately following the caret (if any) and moves the caret to the position immediately after the changed character. If the caret is at the end of a line, but not the end of the document, then the caret is simply moved to the beginning of the next line. If the caret is at the end of the document, nothing happens.
If there is a selection in the editor, the case of each selected character is toggled (thus "This Is A Test" becomes "tHIS iS a tEST") and the caret position is left unchanged.
No keymap is associated with this action. To use it, you'll first need to define a key mapping for it. You should find this action in the Keymap dialog under the Editor Actions section.
The idea for this plugin was inspired by an IDEA Tracker feature request from DonaldFMcLean.
This plugin was tested with IntelliJ IDEA Build 963 on Windows 2000.
I was reviewing my IDEA Tracker entries. I had forgotten about this plugin. Anyway, it no longer works.
- Updated plugin.xml for Aurora's Plugin Manager
- Now also toggles the case of individual characters in selected text (thanks to JonSteelman for catching the selected text bug in the previous version)
|
|