|
This plugin adds a variety of useful editor actions, enhancing the cut, copy, paste, and delete functionality of IDEA.
Copy-Append: Copies the current selection (or the current line if nothing is selected), appending it to the contents of the current clipboard. Default key mapping = control-shift-C
Cut-Append: Same as Copy-Append, but also deletes the selection. Default key mapping = control-shift-X
Smart Copy: The first time Smart Copy is used, it acts like a standard Copy operation. Subsequent times, it acts as Copy-Append.
Paste (including Paste Above) resets the action. This makes it easy to bundle up sequences of copies for one paste. Default key mapping = alt-U
Smart Cut: Same as Smart Copy, but also deletes the selection. Default key mapping = alt-Y
Delete to End Of Line: Deletes from the current position to the end of the line. No default key mapping.
Delete to Start Of Line: Deletes from the current position to the start of the line. No default key mapping.
Note: The "Paste as String" functionality that was provided in previous versions of this plugin has been dropped, as IDEA itself supports it. Yeah!
Motivation
I wanted to be able to cut-and-paste a series of lines using only the keyboard, and things sort of just blossomed.
Installation
Just drop the smartCopy.jar file into your IDEA plugins directory, and restart IDEA. You'll probably want to change your key bindings to better utilize this plulgin.
Platforms
Tested with Aurora build 815 on on Win2K.
Version History
0.1 First release. Includes "Copy Append", "Cut Append", "Smart Copy", "Smart Cut", and "Paste Above" action
0.2 Second release. Includes "Paste as String" action and alteration to "Paste" to escape when pasting into Java string literals.
-- DaveGriffith - 19 May 2003
|
|