Find Code Dependent on Namespace

Hi all,

there is a nice feature "Find Code Dependent on Module" in ReSharper.
Is there a similar feature that finds all used classes in file that are contained by selected namespace ?



Example:
I have a classes
myNamespace.A and
myNamespace.B

A file that has following using statement:

using myNamespace;


Within that file the class A is used like so:

A a = new A();

Now would like to click on "myNamespace" and find all used classes of this myNamespace in my file. So all occurances of A should be selected.



Is there such a feature ?



Markus

2 comments

Hello Markus,

Yes, put caret on "using" keyword and hit "Highlight usages"

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


MM> Hi all,
MM>
MM> there is a nice feature "Find Code Dependent on Module" in
MM> ReSharper.
MM>
MM> Is there a similar feature that finds all used classes in file that
MM> are contained by selected namespace ?
MM>
MM> Example:
MM> I have a classes
MM> myNamespace.A and
MM> myNamespace.B
MM> A file that has following using statement:
MM>
MM> using myNamespace;
MM>
MM> Within that file the class A is used like so:
MM>
MM> A a = new A();
MM>
MM> Now would like to click on "myNamespace" and find all used classes
MM> of this myNamespace in my file. So all occurances of A should be
MM> selected.
MM>
MM> Is there such a feature ?
MM>
MM> Markus
MM>
MM> ---
MM> Original message URL:
MM> http://devnet.jetbrains.net/message/5285127#5285127


0

Please sign in to leave a comment.