Ah, but Valentin, it *is* found when you do "Highlight Usages in File" (CTRL-SHIFT-F7). Therefore, I'd argue that it is either a "usage", or that the commands should be renamed.
Personally, I'd like to see "Find Usages" locate the variable declaration. Unless you wanted to add some code metrics (or smells) that would help locate unused variables (once we've used Find Usages to eliminate the usages). :) -sms -----Original Message----- From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 5:50 AM To: [EMAIL PROTECTED] Subject: Re: [Eap-list] find usages problem 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 -------------------------------------------------- DISCLAIMER This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Trading Group may, at its discretion, monitor and review the content of all e-mail communications. _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
