Jump to content
Sign in to follow this  
PeterPanettone

Uses Clause Manager improved: Search Identifier information on the Web

Recommended Posts

Added a context menu item to search for Identifier information on the Web:

 

image.thumb.png.7851bdcb4f50815f93cc47022cb7c021.png

 

This starts a google query in your default browser using both the selected Identifier name and Unit name. In most cases, this retrieves useful information about the selected identifier.

 

For example, with the Identifier selected in the above screenshot, your browser would open this Google search results page URL:

 

https://www.google.com/search?q=UnlockUrlCacheEntryFileW Winapi.WinInet

 

Additionally, I have optimized the controls on the bottom of the Identifiers tab to better fit with a high DPI display.

 

Here are the sources (based on release r2907) :

 

GX_UsesExpert.zip

Edited by PeterPanettone

Share this post


Link to post
On 12/6/2019 at 5:19 PM, PeterPanettone said:

Here are the sources (based on release r2907) :

 

GX_UsesExpert.zip

Unfortunately they don't compile:

[dcc32 Error] GX_UsesExpert.pas(877): E2003 Undeclared identifier: 'MultiFilter'
[dcc32 Error] GX_UsesExpert.pas(878): E2003 Undeclared identifier: 'IdMultiFilter'

 

edit: Apparently these are TStringList and since they are referenced in multiple methods, they must be fields. If I declare them thus, it compiles for Delphi 10.3.3. Havn't looked at the code yet.

Edited by dummzeuch

Share this post


Link to post

Also, the multiple word filter does not work in this version (I tried your example of "utils system" which gives me an empty list.)

 

Am I right in assuming that this is the latest version of your modified sources?

Edited by dummzeuch

Share this post


Link to post
25 minutes ago, dummzeuch said:

Unfortunately they don't compile:

That's because you have not downloaded/comitted the previous changes:

 

https://en.delphipraxis.net/applications/core/interface/file/attachment.php?id=1718

5 minutes ago, dummzeuch said:

Also, the multiple word filter does not work in this version (I tried your example of "utils system" which give me an empty list.)

Please download the previous sources.

Share this post


Link to post
2 hours ago, dummzeuch said:

I was assuming your changes were cumulative. Apparently they are not.

Sorry. Will make them cumulative in the future.

Share this post


Link to post
12 hours ago, PeterPanettone said:

Sorry. Will make them cumulative in the future.

Not sure this would be better. Just my assumption was wrong.

Ideally I would prefer patches for single features.

Share this post


Link to post
On 12/6/2019 at 5:19 PM, PeterPanettone said:

Additionally, I have optimized the controls on the bottom of the Identifiers tab to better fit with a high DPI display.

I haven't seen any difference. What exactly did you do?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×