IntelliJ Community . ToggleCharacterCase

 
ToggleCharacterCase 

HOME INDEX SEARCH CHANGES GO  

Introduction

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.

History

v 1.2 (07 Nov 2003)

  • Updated plugin.xml for Aurora's Plugin Manager

v 1.1 (27 Sep 2002)

  • Now also toggles the case of individual characters in selected text (thanks to JonSteelman for catching the selected text bug in the previous version)

v 1.0 (27 Sept 2002)

  • Initial version

IntelliJPluginWebForm
IntelliJPluginName: ToggleCharacterCase
IntelliJPluginVersion: 1.2
IntelliJPluginVendor: Chris Bartley
IntelliJPluginBinary:
IntelliJPluginSource:
IntelliJPluginClassification:
TopicClassification: IntelliJPluginPackage
TopicShortDescription: 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
TestedOnOS: OsWin2K
ShouldRunOnOS: AnyOS

Attachment: sort Action: Size: Date: Who: Comment:
ToggleCharacterCase-1.2.zip action 30213 08 Nov 2003 - 02:21 ChrisBartley v 1.2

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.