Perhaps I misunderstand the usage.

My thinking was that I want to find all cases where a variable is written too (write 
access).

Technically the following:

class foo 
{

   int foo = 1;
   int bar;

   public foo()
   {
      bar = 2;
   }
}

As:

class foo 
{

   int foo;
   int bar;

   public foo()
   {
      foo = 1;
      bar = 2;
   }
}


But intellij won't find the same things in each file.  

An initializer IS a usage. 

Mike





On 20 Nov 2001 at 14:49, Valentin Kipiatkov wrote:

> Well, but it's not a usage! It's the variable itself. Moreover, it's already
> shown in the tree (under "Variable" node).
> 
> Best regards,
> Valentin Kipiatkov
> -----------------------------------------------------------
>  IntelliJ Software, http://www.intellij.com/
>  "Develop with pleasure"
> -----------------------------------------------------------
> 
> ----- Original Message -----
> From: "Michael Kirby" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 19, 2001 5:02 PM
> Subject: [Eap-list] find usages problem
> 
> 
> > Find usages, with the "write access" checkbox checked should find
> declarations with
> > initializers.
> >
> > For example, if I declare a member variable:
> >
> > int foo = 3
> >
> > then find usages should find this, even though its the declaration.
> >
> > int foo;
> >
> > should not be found.
> >
> > Mike
> > ---
> > [EMAIL PROTECTED]
> > To obtain my PGP public key, mail "SEND PUB KEY" in the
> > subject to "[EMAIL PROTECTED]"
> >
> >
> > _______________________________________________
> > 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
> 

---
[EMAIL PROTECTED]
To obtain my PGP public key, mail "SEND PUB KEY" in the 
subject to "[EMAIL PROTECTED]"


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to