This expert provide the ability to search external sources for help on editor identifiers when the IDE cannot provide any context information.
I wrote this because it would seem that the later IDEs (XE7 as an example) no longer contain the Win32/64 MS help they used to therefore pressing F1 in the editor for help on say
FileCopyEx will not get you very far. This expert in this instance will check whether the IDE can provide help for this context word and if not, allow you to search external internet sources like Google or MSDN automatically (you can configure these – see below).
I will be writing a blog post on how this works (from an OTA point of view) as a new article on the Open Tools API so you can all understand what I’ve done.
This browser is built from a minimalist point of view to save screen space.
On the left of the address / URL bar are the Back and Forward buttons. On the right are the Stop, Refresh, Open (open in an external browser) and Config buttons.
You can type a new URL into the address bar and press enter and it will be displayed and you can type a word and press enter to get a default (IE) search for the word.
This configuration dialogue can be invoked from the gear toolbar icon at the far right of the browser toolbar.
The dialogue allows you to configure / reconfigure Search URLS. Each Search URL MUST have a %s within it at the location where the identifier word from the editor needs to be inserted for a valid search.
Also you can add Permanent URLs that will always be available from the down down URL list in the browser.
Below is a link to an initial XE7 build for this expert. It contains all the code so you should be able to recompile it for other version back to 2007 (previous versions don’t have the
IOTAHelpServices interface). Once I’ve updated to RAD Studio 10 Seattle I’ll attempt to create DLLs for previous versions of the IDE however I current don’t have all the IDEs.
- DLLs and source code: IDE Help Helper 1.0c for RAD Studio 2009 to Berlin 10.1;
- Source code (GitHub): https://github.com/DGH2112/DGH-IDE-Help-Helper.
Please note that there are only builds for 2009, 2010, XE, XE2, XE7 and XE10 due to the limitation described on the Open Tools API and the fact that the
IOTAHelpServices interface does not exist in version of RAD Studio earlier than 2007.
For information on installing this expert please refer to my post Compiling and Installing my experts and wizards….