CamouflagePlugin 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic CamouflagePlugin (r1.13 - 04 Nov 2003 - AlexeyEfimov)
Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Adds camouflage, folding and flattenizing intentions to IDEA.%_N_%Enhances 'Collapse All'%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Adds camouflage, folding and flattenizing intentions to IDEA. Enhances 'Collapse All'"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.12 - 01 Nov 2003 - AlainRavet)
Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.10, for build 957 (?944)" date="1067645418" path="C:\dev\Tool\idea-957\aravet\plugins\CamouflageIntentions.jar" size="160702" user="AlainRavet" version="1.10"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.10b, for build 957 (?944)" date="1067718752" path="CamouflageIntentions.jar" size="159992" user="AlainRavet" version="1.11"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.11 - 01 Nov 2003 - AlainRavet)
Added:
>
>

Added:
>
>

Option : execute a "Flattenize all the class methods" each time you call "Collapse All"

Changed:
<
<

  1. Drop the jar in the /plugins directory, and restart IDEA
>
>

  1. in IDEA plugin manager, category "Intention", install the 'CamouflagePlugin', and restart
Added:
>
>

  1. in the IDE settings, check the 'Camouflage Plugin' config dialog and release notes.

The configuration ui, in IDE settings, contains the release notes, tips, warnings, bugs and current limitations.

Added:
>
>

v0.10 :
new :

  • Automatic mode: each time you open a new editor, a set of folding and camouflaging intentions is automatically executed.
  • Enhanced "Collapse All" ( automatically flattenize the methods, before collapsing them)
  • config ui: now contains the release notes, tips, warnings, bugs and limitations.
Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds camouflage, folding and flattenizing intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="Adds camouflage, folding and flattenizing intentions to IDEA.%_N_%Enhances 'Collapse All'%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.9, for build 944" date="1066903151" path="CamouflageIntentions.jar" size="139715" user="AlainRavet" version="1.9"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.10, for build 957 (?944)" date="1067645418" path="C:\dev\Tool\idea-957\aravet\plugins\CamouflageIntentions.jar" size="160702" user="AlainRavet" version="1.10"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.10 - 23 Oct 2003 - AlainRavet)
Changed:
<
<

This plugin adds 19 intentions to IDEA :

>
>

This plugin adds 21 intentions to IDEA :

Added:
>
>

"Flattenize" current or all the class' methods
( this implements the request 14903)

Added:
>
>

v0.9 :
new :

Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds camouflage and folding intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds camouflage, folding and flattenizing intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment=" jar v0.8, for build 944" date="1066677633" path="CamouflageIntentions.jar" size="138914" user="AlainRavet" version="1.8"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.9, for build 944" date="1066903151" path="CamouflageIntentions.jar" size="139715" user="AlainRavet" version="1.9"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.9 - 20 Oct 2003 - AlainRavet)
Added:
>
>

  • ..for, while, if, try .
Changed:
<
<

v0.7 :

>
>

v0.8 :
bug fix :

  • "Kill all xxx" removed valid methods folding area.
    To repair the damages : cut and repaste in place the whole class/method
       [Ctrl-A]
       [Ctrl-X]
       [Ctrl-V]

New

  • fold misc statements :
    - for, while, if, try/catch/finally

v0.7 :

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 19 camouflage and folding intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds camouflage and folding intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.7, for build 944 " date="1066344599" path="C:\dev\Tool\idea-944\aravet\plugins\CamouflageIntentions.jar" size="118872" user="AlainRavet" version="1.7"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment=" jar v0.8, for build 944" date="1066677633" path="CamouflageIntentions.jar" size="138914" user="AlainRavet" version="1.8"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.8 - 16 Oct 2003 - AlainRavet)
Changed:
<
<

This plugin adds 14 intentions to IDEA :

>
>

This plugin adds 19 intentions to IDEA :

Changed:
<
<

>
>

  • ..array initializers.
Added:
>
>

  • ..empty methods
Added:
>
>

Misc :

  • ..remove 1/all the camouflages .

Added:
>
>

v0.7 : improved :

  • more ui configs
  • bugfixes

added folding:

  • fold 1/all array initializer(s)
    ex
    String s[] = {"a","b","c"};

added camouflage:

  • camouflage empty methods
  • kill (remove) existing camouflage(s)
Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 14 camouflage and folding intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 19 camouflage and folding intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.6, for build 944 " date="1065979239" path="CamouflageIntentions.jar" size="96031" user="AlainRavet" version="1.6"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.7, for build 944 " date="1066344599" path="C:\dev\Tool\idea-944\aravet\plugins\CamouflageIntentions.jar" size="118872" user="AlainRavet" version="1.7"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.7 - 12 Oct 2003 - AlainRavet)
Changed:
<
<

This plugin adds 12 intentions to IDEA :

>
>

This plugin adds 14 intentions to IDEA :

Added:
>
>

  • ..log4j statement that follow the "isEnabled" pattern.
Changed:
<
<

add more illustrations here
>
>

todo: add more illustrations here.
Added:
>
>

v0.6 : added

  • camouflage log4j statements that follow a pattern :
     - only 1 line in the then branch
     - same level in the condition, and in the then statement

     Example: will be camouflaged 

        if (aLogger.isEnabledFor(Level.<XXX>) ){
           aLogger.xxx ("message", ..)
        }
     or 
        if (aLogger.isDebugEnabledFor() ){
          aLogger.log(Level.XXX, "message", ..)
        }

     Example: will NOT be camouflaged 

       if (aLogger.isEnabledFor(Level.ALL) ){
         aLogger.debug ("message", ..)
       }
Deleted:
<
<

Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 12 camouflage and folding intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 14 camouflage and folding intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.5, for build 944" date="1065579925" path="CamouflageIntentions.jar" size="88277" user="AlainRavet" version="1.5"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.6, for build 944 " date="1065979239" path="CamouflageIntentions.jar" size="96031" user="AlainRavet" version="1.6"}%

Added:
>
>

%META:FILEATTACHMENT{name="log4jcamouflaging.png" attr="h" comment="log4j camouflaging example" date="1065980596" path="C:\Documents and Settings\aravet\Desktop\log4jcamouflaging.png" size="24260" user="AlainRavet" version="1.1"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.6 - 08 Oct 2003 - AlainRavet)
Changed:
<
<

This plugin adds 11 intentions to IDEA :

>
>

This plugin adds 12 intentions to IDEA :

Added:
>
>

  • ..throws exceptions list.
Changed:
<
<

After installation, and IDEA's restarting, place the caret in the class name, and press [Alt-enter].

>
>

  1. Drop the jar in the /plugins directory, and restart IDEA
  2. place the caret in a class name
  3. press [Alt-enter]
  4. accept the "Camouflage All All" intention.

By default, this action executes all the intentions on the entire class, in 1 go. You can remove intentions through the configuration ui, in the IDE settings :

Added:
>
>

v0.5 : added

  • camouflage throws exceptions lists
  • configuration ui (in IDE settings)
Changed:
<
<

  • camouflage if, collections in for, throws
>
>

  • camouflage if, collections in for
Added:
>
>

Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 11 camouflage and folding intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 12 camouflage and folding intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.4b, for build 944" date="1065130867" path="CamouflageIntentions.jar" size="72123" user="AlainRavet" version="1.4"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.5, for build 944" date="1065579925" path="CamouflageIntentions.jar" size="88277" user="AlainRavet" version="1.5"}%

Added:
>
>

%META:FILEATTACHMENT{name="CamouflagePluginV05.png" attr="h" comment="config ui & quickstart" date="1065582552" path="CamouflagePluginV05.png" size="67915" user="AlainRavet" version="1.1"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.5 - 02 Oct 2003 - AlainRavet)
Deleted:
<
<

tested on 929 only !!

Added:
>
>

v0.4b : recompiled for build 944

Changed:
<
<

  • camouflage if, getters, setters
>
>

  • camouflage if, collections in for, throws
Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="Camouflage plugin jar v0.4 " date="1064967966" path="CamouflageIntentions.jar" size="73689" user="AlainRavet" version="1.3"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="jar v0.4b, for build 944" date="1065130867" path="CamouflageIntentions.jar" size="72123" user="AlainRavet" version="1.4"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.4 - 01 Oct 2003 - AlainRavet)
Added:
>
>

The idea : make existing code easier to read/understand by :
    - hiding/replacing by a compact placeholder what the user does not need to see (accessors, equals()..)
    - using more intuitive syntax (for ..)

Changed:
<
<

Experiment :

>
>

Experimental :

Deleted:
<
<


 <<O>>  Difference Topic CamouflagePlugin (r1.3 - 01 Oct 2003 - AlainRavet)
Changed:
<
<

This plugin adds 6 intentions to IDEA :

>
>

Recommendation: for optimal result, you should change IDEA's folding foreground and background colours, to match the examples illustrated below. The default colours don't work well with this plugin.

This plugin adds 11 intentions to IDEA :

Added:
>
>

Camouflage all the class'

  • ..constructors .
  • ..accessors
  • ..canonicals (equals(), hashCode(), toString()).

Fold all the class'

  • ..1-liners .

Experiment : Camouflage

  • ..if (condition) return value .

Added:
>
>


Quickstart :

After installation, and IDEA's restarting, place the caret in the class name, and press [Alt-enter].

Added:
>
>

add more illustrations here
Added:
>
>

Added:
>
>

v0.4 : added

  • camouflage constructors
  • camouflage accessors (getters, setters)
  • camouflage canonicals (equals(), hashCode(), toString)
  • camouflage parameter list
  • fold 1-liners

experiment

  • camouflage if (condition) return some_result ;
Added:
>
>

Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 6 camouflage intentions to IDEA%_N_%"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 11 camouflage and folding intentions to IDEA%_N_%"}%

Changed:
<
<

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="Camouflage plugin jar v0.3" date="1064624408" path="CamouflageIntentions.jar" size="41809" user="AlainRavet" version="1.2"}%

>
>

%META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="Camouflage plugin jar v0.4 " date="1064967966" path="CamouflageIntentions.jar" size="73689" user="AlainRavet" version="1.3"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.2 - 27 Sep 2003 - AlainRavet)
Changed:
<
<

This plugin adds 4 intentions to IDEA :

  • camouflage the current type cast.
  • camouflage all the type cast in the current class.
  • camouflage the current final keyword
  • camouflage all the final keyword in the current class.
>
>

tested on 929 only !!

Added:
>
>

This plugin adds 6 intentions to IDEA : Camouflage current or all the class'

  • ..type cast .
  • ..final keyword
  • ..for statement parameters .

Note: 'camouflage' only changes the way code is displayed; it doesn't reformat nor rewrite it.

Added:
>
>

Changed:
<
<

>
>

Added:
>
>

v0.3 :

  • feature : camouflage for loops parameters
Deleted:
<
<

  • hint at for..
Changed:
<
<

  • camouflage for loops
>
>

  • camouflage if, getters, setters
Added:
>
>

Changed:
<
<

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

>
>

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

Changed:
<
<

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 4 camouflagfe intentions to IDEA%_N_%"}% %META:FIELD{name="TestedOnOS" title="TestedOnOS" value=""}% %META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value=""}% %META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="CamouflageIntentions.jar - v0.2" date="1064415616" path="CamouflageIntentions.jar" size="30566" user="AlainRavet" version="1.1"}%

>
>

%META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 6 camouflage intentions to IDEA%_N_%"}% %META:FIELD{name="TestedOnOS" title="TestedOnOS" value="OsWinXP"}% %META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value="AnyOS"}% %META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="Camouflage plugin jar v0.3" date="1064624408" path="CamouflageIntentions.jar" size="41809" user="AlainRavet" version="1.2"}%

Added:
>
>

%META:FILEATTACHMENT{name="camouflageForLoops.png" attr="h" comment="illustration forLoops v0.3" date="1064625879" path="C:\Documents and Settings\aravet\Desktop\camouflageForLoops.png" size="10479" user="AlainRavet" version="1.1"}%


 <<O>>  Difference Topic CamouflagePlugin (r1.1 - 24 Sep 2003 - AlainRavet)
Added:
>
>

%META:TOPICINFO{author="AlainRavet" date="1064416380" format="1.0" version="1.1"}% %META:TOPICPARENT{name="TypeCastCollapserPlugin"}% This plugin adds 4 intentions to IDEA :

  • camouflage the current type cast.
  • camouflage all the type cast in the current class.
  • camouflage the current final keyword
  • camouflage all the final keyword in the current class.


Example :


How to install :

How to use :

  • place the cursor in a type cast, or on a 'final' keyword.
  • press [Alt-Enter]


Version :

v0.2 : initial version

  • feature : camouflage type casts and the final keyword.
  • hint at for..

To Do

  • camouflage for loops
  • add configuration options : class to exclude, symbol replacer, ..

Bugs


-- AlainRavet - 24 Sep 2003

%META:FORM{name="IntelliJPluginWebForm"}% %META:FIELD{name="IntelliJPluginName" title="IntelliJPluginName" value="CamouflagePlugin"}% %META:FIELD{name="IntelliJPluginVersion" title="IntelliJPluginVersion" value=""}% %META:FIELD{name="IntelliJPluginVendor" title="IntelliJPluginVendor" value="Alain Ravet"}% %META:FIELD{name="IntelliJPluginBinary" title="IntelliJPluginBinary" value=""}% %META:FIELD{name="IntelliJPluginSource" title="IntelliJPluginSource" value=""}% %META:FIELD{name="IntelliJPluginClassification" title="IntelliJPluginClassification" value="CodeHelper"}% %META:FIELD{name="TopicClassification" title="TopicClassification" value="IntelliJPluginPackage"}% %META:FIELD{name="TopicShortDescription" title="TopicShortDescription" value="adds 4 camouflagfe intentions to IDEA%_N_%"}% %META:FIELD{name="TestedOnOS" title="TestedOnOS" value=""}% %META:FIELD{name="ShouldRunOnOS" title="ShouldRunOnOS" value=""}% %META:FILEATTACHMENT{name="CamouflageIntentions.jar" attr="" comment="CamouflageIntentions.jar - v0.2" date="1064415616" path="CamouflageIntentions.jar" size="30566" user="AlainRavet" version="1.1"}% %META:FILEATTACHMENT{name="CamouflagePluginV02.png" attr="h" comment="illustration v0.2" date="1064416748" path="CamouflagePluginV02.png" size="34166" user="AlainRavet" version="1.1"}%


View | Diffs | r1.13 | > | r1.12 | > | r1.11 | 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 - 24 Sep 2003 - 15:13 GMT - AlainRavet
Revision r1.13 - 04 Nov 2003 - 12:02 GMT - AlexeyEfimov
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.