Avatar
Permanently deleted user

Great plugin. Finally!

Are you going to implement the same feature for delete?

Jacques

0
Avatar
Permanently deleted user

Thank you.

"Delete". What exactly do you mean (action to delete word at cursor)?

Just in case here's the list of all actions in the plugin: PreviousWord (Ctrl-Left), NextWord (Ctrl-Right), PreviousWordWithSelection (Ctrl-Shift-Left), NextWordWithSelection (Ctrl-Shift-Right), DeleteToWordStart (Ctrl-Backspace), DeleteToWordEnd (Ctrl-Delete), SelectWord (Ctrl-W), UnSelectWord (Ctrl-Shift-W).

Great plugin. Finally!

Are you going to implement the same feature for
delete?

Jacques


0
Avatar
Permanently deleted user

I spoke too quickly. You already have it.

One thing that would be nice though is an option to override the default mappings automatically.
Did you try to use ActionManager.register/unregisterAction to unregister the regular actions and register yours instead under the same name?

thanks for a great plugin!

Jacques

0
Avatar
Permanently deleted user

I will look into it (registering actions automatically and some option to switch between the regular and plugin mappings).


Timur

0
Avatar
Permanently deleted user

Many thanks, Works like a charm.

0
Avatar
Permanently deleted user

Nice one!

Timur Zambalayev wrote:

http://www.intellij.org/twiki/bin/view/Main/CamelPlugin

>
>> camelHumps -> camel|Humps
>
>> - cursor, [] - selection.
>

action before after (plugin) > after (regular) > > NextWord (Ctrl-Left) |toLowerCase( to|LowerCase( > toLowerCase|( |MAX_VALUE = > MAX_|VALUE = MAX_VALUE |= > |SQLException( SQL|Exception( > SQLException|( Layout|Manager2( LayoutManager|2( > LayoutManager2|( > > SelectWord (Ctrl-W) toLo|werCase( to[Lo|wer]Case( > [toLo|werCase]( to|LowerCase( > to[|Lower]Case( [to|LowerCase]( ]]>

>

Relevant posts/requests:

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=11207 ("Camel
humps")

>
>
http://www.intellij.net/forums/thread.jsp?forum=3&thread=2329&message=36557

("Ctrl- left/right enhancement")

>

Tested with #701, #811 and #813.

>
>

Timur



0
Avatar
Permanently deleted user

Thanks for a great plugin! One request, can SelectWord (Ctrl-W) work like
this:

myPropertiesLa|bel -> myProperties[La|bel] -> myPropertiesLa
myPr|opertiesLabel -> my[Pr|operties]Label -> my[Pr|opertiesLabel] ->
myPr
m|yPropertiesLabel -> mPropertiesLabel -> mLabel ->
m

Thanks,

--

Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"



"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:23055534.1051427337135.JavaMail.jrun@is.intellij.net...

http://www.intellij.org/twiki/bin/view/Main/CamelPlugin

>

|camelHumps -> camel|Humps

>

| - cursor, [] - selection.

>

action before after (plugin) after (regular) > > NextWord (Ctrl-Left) |toLowerCase( to|LowerCase( toLowerCase|( > |MAX_VALUE = MAX_|VALUE = MAX_VALUE |= > |SQLException( SQL|Exception( SQLException|( > Layout|Manager2( LayoutManager|2( LayoutManager2|( > > SelectWord (Ctrl-W) toLo|werCase( to[Lo|wer]Case( [toLo|werCase]( > to|LowerCase( to[|Lower]Case( [to|LowerCase]( > ]]>

>

Relevant posts/requests:

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=11207 ("Camel

humps")
>
>
http://www.intellij.net/forums/thread.jsp?forum=3&thread=2329&message=36557
("Ctrl- left/right enhancement")
>

Tested with #701, #811 and #813.

>
>

Timur

>


0
Avatar
Permanently deleted user

great plugin and many thanks.

best regards,
Fernando Pereira

0
Avatar
Permanently deleted user

I added it to the to do list (at http://www.intellij.org/twiki/bin/view/Main/CamelPlugin ).

Currently I want to implement it like this (not sure whether to make it an option or not):

first word:
Ar|rayIndexOutOfBoundsException -> ArIndexOutOfBoundsException -> ArOutOfBoundsException -> etc

last word:
ArrayIndexOutOfBoundsExcept|ion -> ArrayIndexOutOfBounds[Except|ion] -> ArrayIndexOutOf[BoundsExcept|ion] -> etc

word in the middle:
ArrayIndexOu|tOfBoundsException -> ArrayIndex[Ou|t]OfBoundsException -> ArrayIndex[Ou|tOfBoundsException] - > ArrayIndexOu


Timur

0

请先登录再写评论。