[ANN] Selector plugin version 8
Someone requested some features, but I've forgotten who! So, whoever you
are, please let me know if this works for you...
Rectangular selection can now be extended via the keyboard by mapping keys
to the new commands Selector Extend Up, Selector Extend Down, Selector
Extend Left and Selector Extend Right. These commands rectangularly extend
the selection in the specified direction.
Currently, I can't figure out how/if keyboard listening is supported for an
editor. Thus, the Selector selections don't delete when you press a key. So,
I've added Selector Delete and Selector Backspace commands which can be
mapped to Delete and Backspace. It's not a great solution, but it's all I
can think of.
http://www.intellij.org/twiki/bin/view/Main/SelectorPlugin
--
Jordan Zimmerman
Altura International
Catalog City
请先登录再写评论。
Hmm, I could not find the previous "Selector plugin" thread also...
OK, anyway I've included my old reply with list of features below.
"Jordan Zimmerman" <jordanz@altura.com> wrote in message news:atod6n$edh$1@is.intellij.net...
>
Yeah! It works and very handy! Not without problems though, sorry :-(.
It seems working fine when you extend right and/or down. When you're trying
to extend up and/or left, only every second keypress seems to be counted, so
to extend two lines up I have to hit "Up" four times!
When you start selection by moving left, it actually selects first character,
removes selection on the second keypress and starts selecting again
on the trird keypress using current (one char to the left from the initial point)
position as right rectangle coordinate. So the resulting selection has one
missing column on the right side. If you start select to the left from position
number 4 (i.e. one tab from the left margin) it can never get to the very
first character, i.e. you can only select 2-char wide (positions 2 and 3)
rectangle.
CTRL+MouseClick on variable etc. name now somehow works but not
properly. Is seems working if the link destination is located in different
file only. If it is located in the same file then cursor is moving into
vicinity (?!) of destination (like about 5 lines below destination) and
some (random?) part of the file gets selected.
>
Can't really understand what is the purpose of it. I make a selection. If I press
any key the selection disappeares as it supposed to be, no problems at all.
What do these actions do anyway?
My configuration:
build #688
Selector Extend Up is assigned to AltShiftUp
Selector Extend Down is assigned to AltShiftDown
Selector Extend Left is assigned to AltShiftLeft
Selector Extend Right is assigned to AltShiftRight
Selector Cut is assigned to AltShiftDelete
Selector Copy is assigned to AltCtrlInsert
Selector Paste Special is assigned to AltShiftInsert
There were no conflicts reported.
Still missing two important things:
1. Zero width rectangle must select whole lines (currently it selects nothing)
2. After "Paste" the cursor must return to the left top corner (insertion point)
exactly the same way as for "Cut" (a lifesaver for column multiplication)
Besides all above the plugin is just great!
Thanks, Oleg
>
>
>
>
-
Original Message -
From: "Oleg Danilov" <o_danilov@yahoo.com>
Newsgroups: jetbrains.intellij.plugins
Sent: Tuesday, December 10, 2002 6:42 PM
Subject: Re: Selector v7
>
>
>
>
>
>