Originally Posted by
Jarrod Davis
Hey Paul
I call these things PainPoints(tm), hehe. As I'm using the IDE and run across a feature that MUST be in there and just a pain to use without will get added to my must-do list. I found it hard to work without this too having gotten so use to it in Delphi. This is what I have working at the moment:
If you press Ctrl+Space it will bring up a code completion window (just the QE classes and methods for now), as you type it will narrow down the search. So If you type:
QE.Test then hit Ctrl+Space it will bring up a code completion list with all methods/routines with Test in it. You can then pick QE.TestCase. Now when you type ( it will then show the param hint for this method.
What I have working also is code templates. If you type:
be, then hit Ctrl+J will replace be with a begin/end block. There is a fairly complete list already. So if a code template item is at the cursor it will be replaced with the code template, if not then the list will be displayed.
I've added a dev feature to add more items in the code completion/param hint list by simply updating the list file and it will parse, skip the ones that are already formatted, format the new stuff and update the file. So to add this new method:
procedure ThisIsANewMethod(aMsg: string; aArgs: array of const);
it will parse this and update both the code completion and hints list. Now I just have to add support for new code typed into the editor. But as of now (version 1.0.2) Ctrl+J will bring up the code template list and Ctrl+Space will bring up the code completion list.
I just got support for consuming .dfm files. The next build (version 1.0.3) will have this support. Future builds will allow you to create the forms. You will be able to add this in your source:
{$DFM uOptionsForm.dfm}
The form will get added to the EXEs resource section. When a TForm instance is created with a name that matches this DFM it will be loaded in associated with the form instance. Coming will be the ability to create these forms as well. So if all goes will there will be no longer a need for the DemoUtils.dll. in the next build. Cool stuff coming.
Bookmarks