Thanks Alain..
I will take a look at it.
Regards,
Armond
"Alain RAVET"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
net.be> cc:
Sent by: Subject: RE: [Eap-list]
Refactoring...
eap-list-admin@in
tellij.com
12/06/2001 12:14
PM
Please respond to
eap-list
Armond,
----- [EMAIL PROTECTED] wrote
>> .. where I can find such a feature which can analyse
>> my *whole* code and tell me where I have bad-smell code ?!
There is a little tiny tool that I use once in a while, to check that there
are not to many duplicated lines in my code.
http://sourceforge.net/projects/same/
I installed it as an external tool (see below).
When called, it
- ask the minimun number of duplicates lines
- checks the file in the current panel editor.
If it were integrated into IDEA, I would expected the lines reported to be
active (clickable, to jump into the code)
As it is an external tool, you have to read its report, and goto the
smelling line manually.
Alain
PS.
I only use it 1 class at a time, but it can be configured/called to search
many classes in 1 go.
--------------------------------------------------------------------------------------------------------
<tool name="same" description="find duplicates" showInMainMenu="true"
showInEditor="true" showInProject="true"
showInSearchPopup="true" disabled="false" useConsole="true"
synchronizeAfterRun="true">
<exec>
<option name="COMMAND" value="java " />
<option name="PARAMETERS" value="-cp d:
\dev\tool\same\same-classes.zip same.textui.SameCLI -m $Prompt$ $FilePath
$" />
<option name="WORKING_DIRECTORY" />
</exec>
</tool>
This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner
!
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list