I don't think there needs to be more colors. We will wind up with too many signals from our code. I would say that using the statusbar for telling the coder why a certain variable is considered unused is the best way to go. That way it works just as syntax errors and other code problems.
Just my 2c
Patrik
-----Ursprungligt meddelande-----
Från: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
Skickat: den 21 februari 2002 11:41
Till: [EMAIL PROTECTED]
Ämne: Re: [Eap-list] Argument with same name as instance var not picked
up for not used variables
> the editor is telling me that the instance variable 'x' is not used.
Actually, it says "Field x is assigned but never accessed" (and it is true).
I remember it's not the first question of such kind. What do you think,
maybe it makes sense to highlight such variables in a different color?
Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure"
-----------------------------------------------------------
----- Original Message -----
From: "Pete Hendry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 12:25 PM
Subject: [Eap-list] Argument with same name as instance var not picked up
for not used variables
>
> Build 605, Windows 2000
>
> When I have code like the following
>
> public class Test {
> private int x;
>
> public void setX( int x ) {
> this.x = x;
> }
> }
>
> the editor is telling me that the instance variable 'x' is not used. It is
also correctly color coding the 'x' in this.x
> but is not coding the 'x' on the RHS of the expression.
>
> Pete
>
>
> _______________________________________________
> 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
