Delphi Handbooks Collection


Delphi XE Handbook


Delphi 2010 Handbook


August 16, 2010

Delphi XE Beta Blogging: Search for Usages

In this second "beta blog" I'll just mention a nice little feature: Search for Usages.

In this second "beta blog" I'll discuss a very simple and nice feature, only partially new to Delphi XE.

In case you don't know, "Delphi beta blogs" are authorized blog posts by independent bloggers covering features of a beta version of Delphi. This means I was given a specific permission to post about this topic and I'm discussing a feature of a pre-release version. Notice also that the official RAD Studio XE Preview page is at  http://www.embarcadero.com/rad-studio-xe-preview  . Since this is a pre-release, there is no guarantee it will work the same in the final version (or will actually be in the product).

 

The Search for Usages command in Delphi XE is available for projects that don't have Modeling support enabled. Differently from "Find References", "Search for Usages" is more flexible. If you search for a type it includes members and derived types, plus variables of the given type. If you search for a method it includes overridden ones. Actually, you can filter out what to search for and whether you want a full inheritance graph by picking some of the options in the dialog that brings you to that feature:

 That's all for now, might have more time in the coming days.





 

6 Comments

Delphi XE Beta Blogging Search for Usages 

 :)
Comment by Michael Thuma on August 16, 16:11

Delphi XE Beta Blogging Search for Usages 

 There seems to be no 'search in comments' option -
which is sad because I write a lot of documentation in
the source code.
Comment by Michael Justin [http://mikejustin.com] on August 16, 16:25

Delphi XE Beta Blogging Search for Usages 

Nice to see this kind of features that enhance the
programmer's productivity and improves the
coder-behind-the-IDE experience.
Comment by Javier Santo Domingo [http://coderesearchlabs.com] on August 16, 17:33

Delphi XE Beta Blogging Search for Usages 

This finally seems like a good improvement to the IDE.
I hope they do not forget to assign a shortcut. 
Comment by Gad D Lord [http://www.mtgstudio.com] on August 16, 18:28

Delphi XE Beta Blogging Search for Usages 

Good! Searching is something one does a lot when coding.

Yes, please consider adding search in comments.

In Visual Studio 2008, you had the option to search in
"hidden" sections (which unfortunately included
comments AND collapsed code). 

For some reason, instead of refining the feature, MS
dropped it in VS 2010 entirely!
Comment by Ken Knopfli on August 17, 10:03

Delphi XE Beta Blogging Search for Usages 

 This sounds like a very useful feature, but
unfortunately it is not available in my IDE. I there
some magical key I have to unlock? I use Delphi XE
under Windows 7 ultimate.
Comment by Kaspar on July 18, 07:12


Post Your Comment

Click here for posting your feedback to this blog.

There are currently 0 pending (unapproved) messages.