CamelPlugin 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic CamelPlugin (r1.16 - 26 Aug 2003 - TimurZambalayev)
Changed:
<
<

Key Mapping.

>
>

Key mappings.


 <<O>>  Difference Topic CamelPlugin (r1.15 - 24 Aug 2003 - TimurZambalayev)
Deleted:
<
<

"Options -> Camel Plugin" checkbox (Alt-O,C).

It works only for those actions (relevant regular actions, plugin actions) that are mapped to the same keystrokes. For example, in the case when EditorPreviousWord and CamelPlugin.PreviousWord are both mapped to Ctrl-Left. By default, all plugin actions are mapped to the same keystrokes of their regular counterparts. If you map actions to different keystrokes, this checkbox (obviously) won't have any effect.

The checkbox is On. The plugin actions are active. The checkbox is Off. The regular actions are active.

Slow Select Word option.

CamelApplicationComponent.slowSelectWord. By default it's set to false.

It works like this:

first word:
Ar|rayIndexOutOfBoundsException -> [Ar|ray]IndexOutOfBoundsException -> [Ar|rayIndex]OutOfBoundsException -> 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|tOfBoundsException]

See also HowToSetAnOption.

Stop At The End Of The Word option.

CamelApplicationComponent.stopAtTheEndOfTheWord. By default it's set to false.

Example:

clas|s Array        -- Ctrl-Right -->   class| Array
MA|X_VALUE          -- Ctrl-Right -->   MAX|_VALUE
ArrayList |_list    -- Ctrl-Left -->    ArrayList| _list
class |Array        -- Ctrl-Left -->    class| Array

See also HowToSetAnOption.

Changed:
<
<

  1. Specify the location of $idea.home in build.properties
>
>

  1. Specify locations in build-home.properties
Added:
>
>

0.6 (#706, #896) - Aug 24, 2003

  • Removed all options.
  • Fixed a minor consistency issue - selection wasn't removed after delete word actions.
Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.6"}%


 <<O>>  Difference Topic CamelPlugin (r1.14 - 18 Jul 2003 - GwynEvans)
Changed:
<
<

NextWord? (Ctrl-Left) |toLowerCase( to|LowerCase( toLowerCase|(

>
>

NextWord? (Ctrl-Right) |toLowerCase( to|LowerCase( toLowerCase|(


 <<O>>  Difference Topic CamelPlugin (r1.13 - 27 May 2003 - TimurZambalayev)
Added:
>
>

Added:
>
>

Changed:
<
<

Stop At The End Of The Word option (CamelApplicationComponent.stopAtTheEndOfTheWord).

>
>

Slow Select Word option.

CamelApplicationComponent.slowSelectWord. By default it's set to false.

It works like this:

first word:
Ar|rayIndexOutOfBoundsException -> [Ar|ray]IndexOutOfBoundsException -> [Ar|rayIndex]OutOfBoundsException -> etc

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

By default it's set to false.

>
>

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

See also HowToSetAnOption.

Stop At The End Of The Word option.

CamelApplicationComponent.stopAtTheEndOfTheWord. By default it's set to false.

Added:
>
>

0.5 (#701, #816) - May 27, 2003

  • RFE [ 744042 ] Make SlowSelectWord an option and turn it off by default.
Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.4"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.5"}%


 <<O>>  Difference Topic CamelPlugin (r1.12 - 24 May 2003 - TimurZambalayev)
Changed:
<
<

Stop At The End Of The Word option.

>
>

Stop At The End Of The Word option (CamelApplicationComponent.stopAtTheEndOfTheWord).

Changed:
<
<

How to set the option:

  1. Install plugin.
  2. Restart IDEA.
  3. Quit IDEA.
  4. Find file: $IDEA_CONFIG_DIR/options/other.xml
  5. At the end of the file find CamelApplicationComponent options.
  6. Set stopAtTheEndOfTheWord to true.
>
>

See also HowToSetAnOption.

Changed:
<
<

-- TimurZambalayev - Apr 27, 2003

>
>

-- TimurZambalayev - Apr 27, 2003


 <<O>>  Difference Topic CamelPlugin (r1.11 - 21 May 2003 - TimurZambalayev)
Changed:
<
<

Download Link.

>
>

Downloads, Bugs, RFEs:

Changed:
<
<

To do

  • (request by Eugene Belyaev) "Slower" SelectWord (Ctrl-W) (an option?):
myPropertiesLa|bel -> myProperties[La|bel] -> [myPropertiesLa|bel]
myPr|opertiesLabel -> my[Pr|operties]Label -> my[Pr|opertiesLabel] -> [myPr|opertiesLabel]
m|yPropertiesLabel -> [m|y]PropertiesLabel -> [m|yProperties]Label -> [m|yPropertiesLabel]

Currently I want to implement it like this:

first word: Ar|rayIndexOutOfBoundsException -> [Ar|ray]IndexOutOfBoundsException -> [Ar|rayIndex]OutOfBoundsException -> 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|tOfBoundsException]

>
>

History.

Changed:
<
<

>
>

0.4 (#701, #815) - May 21, 2003
Changed:
<
<

History.

>
>

  • Bug [ 738403 ] no scrolling when cursor gets out of window.
  • RFE [ 735028 ] "Slower" SelectWord (Ctrl-W).
Changed:
<
<

-- TimurZambalayev - 27 Apr 2003

>
>

-- TimurZambalayev - Apr 27, 2003

Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.3.1"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.4"}%


 <<O>>  Difference Topic CamelPlugin (r1.10 - 12 May 2003 - TimurZambalayev)
Changed:
<
<

%META:FIELD{name="IntelliJPluginVendor" title="IntelliJPluginVendor" value="Timur Zambalayev (tzambalayev@nyc.rrNOSPAM321.com)"}%

>
>

%META:FIELD{name="IntelliJPluginVendor" title="IntelliJPluginVendor" value="TimurZambalayev"}%


 <<O>>  Difference Topic CamelPlugin (r1.9 - 12 May 2003 - TimurZambalayev)
Added:
>
>

Changed:
<
<

How to build

>
>

How to build.


 <<O>>  Difference Topic CamelPlugin (r1.8 - 11 May 2003 - TimurZambalayev)
Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.3"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.3.1"}%


 <<O>>  Difference Topic CamelPlugin (r1.7 - 10 May 2003 - TimurZambalayev)
Added:
>
>

Plugin for recognizing camel case words in editor commands.

Changed:
<
<

If you unmapped the regular actions, now you can restore them by removing the following lines in your keymap xml ($IDEA_CONFIG_PATH/keymaps/):

>
>

Stop At The End Of The Word option.

By default it's set to false.

Example:

Changed:
<
<

>
>

clas|s Array -- Ctrl-Right --> class| Array MA|X_VALUE -- Ctrl-Right --> MAX|_VALUE ArrayList? |_list -- Ctrl-Left --> ArrayList?| _list class |Array -- Ctrl-Left --> class| Array

Changed:
<
<

Tested with #701, #811 and #813.

>
>

How to set the option:

  1. Install plugin.
  2. Restart IDEA.
  3. Quit IDEA.
  4. Find file: $IDEA_CONFIG_DIR/options/other.xml
  5. At the end of the file find CamelApplicationComponent options.
  6. Set stopAtTheEndOfTheWord to true.
Deleted:
<
<

  • (request by Nathan Brown) Option to stop at the end of the word:

clas|s Array        -- Ctrl-Right -->   class| Array
MA|X_VALUE          -- Ctrl-Right -->   MAX|_VALUE
ArrayList _|list    -- Ctrl-Left -->    ArrayList| _list
ArrayList |_list    -- Ctrl-Left -->    ArrayList| _list
class |Array        -- Ctrl-Left -->    class| Array

Relevant request: http://www.intellij.net/tracker/idea/viewSCR?publicId=10251

Changed:
<
<

0.2 (#701, #813) - 28 Apr 2003
>
>

0.3.1 (#701, #813) - May 10, 2003

  • "Bug [ 735714 ] DeleteToWordEnd can take spaces after the word".
  • "RFE [ 734986 ] Option to stop at the end of the word (request by Nathan Brown)". You need to set the stopAtTheEndOfTheWord option to true.

0.2 (#701, #813) - Apr 28, 2003
Changed:
<
<

0.1 (#701, #813) - 27 Apr 2003
>
>

0.1 (#701, #813) - Apr 27, 2003
Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.2"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.3"}%


 <<O>>  Difference Topic CamelPlugin (r1.6 - 05 May 2003 - TimurZambalayev)
Added:
>
>

Download Link.

http://sourceforge.net/projects/tz-ip/
Added:
>
>

  • Restart IDEA.
Changed:
<
<

%META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.2.jar"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.2.zip"}%

>
>

%META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://sourceforge.net/projects/tz-ip/"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://sourceforge.net/projects/tz-ip/"}%

Deleted:
<
<

%META:FILEATTACHMENT{name="Camel-0.2.jar" attr="" comment="" date="1051544704" path="C:\3\Camel-0.2.jar" size="56129" user="TimurZambalayev" version="1.1"}% %META:FILEATTACHMENT{name="Camel-0.2.zip" attr="" comment="source zip" date="1051544722" path="C:\3\Camel-0.2.zip" size="90795" user="TimurZambalayev" version="1.1"}%


 <<O>>  Difference Topic CamelPlugin (r1.5 - 03 May 2003 - TimurZambalayev)
Changed:
<
<

  • "Slower" SelectWord (Ctrl-W) (an option?):
>
>

  • (request by Eugene Belyaev) "Slower" SelectWord (Ctrl-W) (an option?):
Added:
>
>

  • (request by Nathan Brown) Option to stop at the end of the word:

clas|s Array        -- Ctrl-Right -->   class| Array
MA|X_VALUE          -- Ctrl-Right -->   MAX|_VALUE
ArrayList _|list    -- Ctrl-Left -->    ArrayList| _list
ArrayList |_list    -- Ctrl-Left -->    ArrayList| _list
class |Array        -- Ctrl-Left -->    class| Array

Relevant request: http://www.intellij.net/tracker/idea/viewSCR?publicId=10251

Changed:
<
<

  • Simpler deployment. Now you only need to copy the jar file to the plugins directory.
>
>

  • (request by Jacques Morel) Simpler deployment. Now you only need to copy the jar file to the plugins directory.

 <<O>>  Difference Topic CamelPlugin (r1.4 - 28 Apr 2003 - TimurZambalayev)
Changed:
<
<

How to deploy:

  1. Copy the jar file (e.g. Camel.jar) to the plugins directory ($IDEA_HOME/plugins).
  2. Map the actions the way you like. Since by default they're mapped to the same keystrokes the regular actions use, in order to use the plugin you'll have to unmap the regular actions or find some other mapping. Also see "Key Mapping" below.
>
>

How to deploy.

  • Copy the jar file (e.g. Camel.jar) to the plugins directory ($IDEA_HOME/plugins).
Changed:
<
<

Relevant posts/requests:

>
>

Relevant posts/requests:

Changed:
<
<

Key Mapping.

>
>

Key Mapping.

Changed:
<
<

If you want to unmap the regular actions, you can add the following lines to your keymap xml ($IDEA_CONFIG_PATH/keymaps/):

>
>

"Options -> Camel Plugin" checkbox (Alt-O,C).

Added:
>
>

It works only for those actions (relevant regular actions, plugin actions) that are mapped to the same keystrokes. For example, in the case when EditorPreviousWord and CamelPlugin.PreviousWord are both mapped to Ctrl-Left. By default, all plugin actions are mapped to the same keystrokes of their regular counterparts. If you map actions to different keystrokes, this checkbox (obviously) won't have any effect.

The checkbox is On. The plugin actions are active. The checkbox is Off. The regular actions are active.

If you unmapped the regular actions, now you can restore them by removing the following lines in your keymap xml ($IDEA_CONFIG_PATH/keymaps/):

Changed:
<
<

Tested with #701, #811 and #813.

>
>

Tested with #701, #811 and #813.

Changed:
<
<

  1. ant clean main.
>
>

  1. ant clean main.
Deleted:
<
<

  • Registering actions automatically and some option to switch between the regular and plugin mappings.
Added:
>
>

Currently I want to implement it like this:

first word: Ar|rayIndexOutOfBoundsException -> [Ar|ray]IndexOutOfBoundsException -> [Ar|rayIndex]OutOfBoundsException -> 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|tOfBoundsException]

Added:
>
>

0.2 (#701, #813) - 28 Apr 2003

  • Simpler deployment. Now you only need to copy the jar file to the plugins directory.
  • The ability to switch easily between regular and plugin mappings (Options -> Camel Plugin, Alt-O,C). Before trying if it works for you, make sure that the regular relevant actions are not unmapped.
Changed:
<
<

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.1"}%

>
>

%META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.2"}%

Changed:
<
<

%META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.1.jar"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.1.zip"}%

>
>

%META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.2.jar"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.2.zip"}%

Changed:
<
<

%META:FILEATTACHMENT{name="Camel-0.1.jar" attr="" comment="" date="1051426270" path="C:\3\Camel-0.1.jar" size="45128" user="TimurZambalayev" version="1.1"}% %META:FILEATTACHMENT{name="Camel-0.1.zip" attr="" comment="source zip" date="1051426288" path="C:\3\Camel-0.1.zip" size="80554" user="TimurZambalayev" version="1.1"}%

>
>

%META:FILEATTACHMENT{name="Camel-0.2.jar" attr="" comment="" date="1051544704" path="C:\3\Camel-0.2.jar" size="56129" user="TimurZambalayev" version="1.1"}% %META:FILEATTACHMENT{name="Camel-0.2.zip" attr="" comment="source zip" date="1051544722" path="C:\3\Camel-0.2.zip" size="90795" user="TimurZambalayev" version="1.1"}%


 <<O>>  Difference Topic CamelPlugin (r1.3 - 28 Apr 2003 - TimurZambalayev)
Changed:
<
<

  1. Map the actions the way you like. Since by default they're mapped to the same keystrokes the regular actions use,
in order to use the plugin you'll have to unmap the regular actions or find some other mapping. Also see "Key Mapping" below.
>
>

  1. Map the actions the way you like. Since by default they're mapped to the same keystrokes the regular actions use, in order to use the plugin you'll have to unmap the regular actions or find some other mapping. Also see "Key Mapping" below.
Added:
>
>

  • "Slower" SelectWord (Ctrl-W) (an option?):
myPropertiesLa|bel -> myProperties[La|bel] -> [myPropertiesLa|bel]
myPr|opertiesLabel -> my[Pr|operties]Label -> my[Pr|opertiesLabel] -> [myPr|opertiesLabel]
m|yPropertiesLabel -> [m|y]PropertiesLabel -> [m|yProperties]Label -> [m|yPropertiesLabel]

 <<O>>  Difference Topic CamelPlugin (r1.2 - 27 Apr 2003 - TimurZambalayev)
Added:
>
>

To do

  • Registering actions automatically and some option to switch between the regular and plugin mappings.

 <<O>>  Difference Topic CamelPlugin (r1.1 - 27 Apr 2003 - TimurZambalayev)
Added:
>
>

%META:TOPICINFO{author="TimurZambalayev" date="1051426680" format="1.0" version="1.1"}% %META:TOPICPARENT{name="TimurZambalayev"}%

Description.

|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](

How to deploy:

  1. Copy the jar file (e.g. Camel.jar) to the plugins directory ($IDEA_HOME/plugins).
  2. Map the actions the way you like. Since by default they're mapped to the same keystrokes the regular actions use,
in order to use the plugin you'll have to unmap the regular actions or find some other mapping. Also see "Key Mapping" below.

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")

Key Mapping.

regular action id                   regular keystroke   plugin's action id

EditorPreviousWord                  Ctrl-Left           CamelPlugin.PreviousWord
EditorNextWord                      Ctrl-Right          CamelPlugin.NextWord
EditorPreviousWordWithSelection     Ctrl-Shift-Left     CamelPlugin.PreviousWordWithSelection
EditorNextWordWithSelection         Ctrl-Shift-Right    CamelPlugin.NextWordWithSelection
EditorDeleteToWordStart             Ctrl-Backspace      CamelPlugin.DeleteToWordStart
EditorDeleteToWordEnd               Ctrl-Delete         CamelPlugin.DeleteToWordEnd
EditorSelectWord                    Ctrl-W              CamelPlugin.SelectWord
EditorUnSelectWord                  Ctrl-Shift-W        CamelPlugin.UnSelectWord

If you want to unmap the regular actions, you can add the following lines to your keymap xml ($IDEA_CONFIG_PATH/keymaps/):

    <action id="EditorPreviousWord"/>
    <action id="EditorNextWord"/>
    <action id="EditorPreviousWordWithSelection"/>
    <action id="EditorNextWordWithSelection"/>
    <action id="EditorDeleteToWordStart"/>
    <action id="EditorDeleteToWordEnd"/>
    <action id="EditorSelectWord"/>
    <action id="EditorUnSelectWord"/>

Tested with #701, #811 and #813.

How to build

  1. Specify the location of $idea.home in build.properties
  2. ant clean main.

History.

0.1 (#701, #813) - 27 Apr 2003

  • CamelPlugin commands: 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).

-- TimurZambalayev - 27 Apr 2003 %META:FORM{name="IntelliJPluginWebForm"}% %META:FIELD{name="IntelliJPluginName" title="IntelliJPluginName" value="CamelPlugin"}% %META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value="0.1"}% %META:FIELD{name="IntelliJPluginVendor" title="IntelliJPluginVendor" value="Timur Zambalayev (tzambalayev@nyc.rrNOSPAM321.com)"}% %META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.1.jar"}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value="http://www.intellij.org/twiki/pub/Main/CamelPlugin/Camel-0.1.zip"}% %META:FIELD{name="IntelliJPluginClassification" title="IntelliJPluginClassification" value="CodeHelper"}% %META:FIELD{name="TopicClassification" title="TopicClassification" value="IntelliJPluginPackage"}% %META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Plugin for recognizing camel case words in editor commands."}% %META:FIELD{name="TestedOnOS" title="TestedOnOS" value="OsWin2K"}% %META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value="AnyOS"}% %META:FILEATTACHMENT{name="Camel-0.1.jar" attr="" comment="" date="1051426270" path="C:\3\Camel-0.1.jar" size="45128" user="TimurZambalayev" version="1.1"}% %META:FILEATTACHMENT{name="Camel-0.1.zip" attr="" comment="source zip" date="1051426288" path="C:\3\Camel-0.1.zip" size="80554" user="TimurZambalayev" version="1.1"}%


View | Diffs | r1.16 | > | r1.15 | > | r1.14 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 27 Apr 2003 - 06:58 GMT - TimurZambalayev
Revision r1.16 - 26 Aug 2003 - 01:00 GMT - TimurZambalayev
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.