Feature Request: Code Query

ReSharper is great, but it has only taught me to expect more!

Do you know how often I wish I could run a query against my code to find things?  Not just a text search, but a query of the types and syntax.

For example, I want to find all classes that implement ICommand and contain the work "Dynamic" in their type name.  Or, I want to find all for loops that directly contain another for loop.

This seems like it should be right up ReSharper's alley.  It already understands syntax and indexes all of my files.  We just need a query language or GUI query editor.

So, how about it, JetBrains?

2 comments
Comment actions Permalink

Hello Brian,

Have you tried Structural Search and Replace (http://www.jetbrains.com/resharper/features/navigation_search.html#Structural_Search_and_Replace)?
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

ReSharper is great, but it has only taught me to expect more!

Do you know how often I wish I could run a query against my code to
find things?  Not just a text search, but a query of the types and
syntax.

For example, I want to find all classes that implement ICommand and
contain the work "Dynamic" in their type name.  Or, I want to find all
for loops that directly contain another for loop.

This seems like it should be right up ReSharper's alley.  It already
understands syntax and indexes all of my files.  We just need a query
language or GUI query editor.

So, how about it, JetBrains?

---
Original message URL:
http://devnet.jetbrains.net/message/5332166#5332166



0
Comment actions Permalink

Right after I posted, a co-worker pointed this same feature out to me.  I feel like I just found a $20 bill in the couch cushion!

0

Please sign in to leave a comment.