[ANN] CamelPlugin 0.1
http://www.intellij.org/twiki/bin/view/Main/CamelPlugin
|camelHumps -> camel|Humps
| - cursor, [] - selection.
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
请先登录再写评论。
Great plugin. Finally!
Are you going to implement the same feature for delete?
Jacques
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).
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
I will look into it (registering actions automatically and some option to switch between the regular and plugin mappings).
Timur
Many thanks, Works like a charm.
Nice one!
Timur Zambalayev wrote:
>
>> camelHumps -> camel|Humps
>
>> - cursor, [] - selection.
>
>
>
>
>
http://www.intellij.net/forums/thread.jsp?forum=3&thread=2329&message=36557
>
>
>
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...
>
>
>
>
>
humps")
>
>
http://www.intellij.net/forums/thread.jsp?forum=3&thread=2329&message=36557
("Ctrl- left/right enhancement")
>
>
>
>
great plugin and many thanks.
best regards,
Fernando Pereira
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