Forum for GExperts

Since Google is shutting down Google+ and the Yahoo mailing list does no longer accept my emails, I have been looking for an alternative which will hopefully be available for a bit longer this time.

There is now a GExperts sub forum in the brand new English Speaking Delphi Praxis forum. Everybody is invited to sign up and participate.

Please note that my preferred way for getting bug reports and feature requests is still a ticket on SourceForge.

Here is the current content of the forum’s RSS feed

  • Need help testing a GExperts bugfix
    on 2023-01-28 at 13:35

    I have just applied patches that are supposed to fix some Unicode issues with Russian characters. These apply to the following experts: Macro Template Locate/ Move to matching delimiter Previous / Next Identifier reference   My tests so far have shown no changes on how these work on my source code, but I usually don’t use any special Unicode characters and in particular no Russian characters.   So if you want to help out, whether or not you are using Unicode characters anywhere (for identifiers or within strings or comments) and especially Russian characters, please compile a new DLL from the current source code an test whether anything has been broken (or fixed).   (Original blog post with links)

  • Problem when debugging outlook add-on
    on 2023-01-14 at 04:30

    I developed an add-on for outlook written on delphi + add-in express . The output dll is registered by regsvr32, The added some calls for SendDebug , but these calls work only when the dll is registered and not when outlook calls my code any ideas?

  • "Always break line between else and if" vs. comments
    on 2023-01-12 at 13:21

    I have disabled the "Always break line between else and if" option, and I'm happy with the results.   However my colleague insists on having nested if-elses without begin/end pairs and on top mixes this with comments. A simplified example: procedure MyProcedure(a, b: Boolean); begin   if a then     if b then       Beep     else       Beep   else     // Kommentar     if b then       Beep     else       Beep; end; This gets formatted to procedure MyProcedure(a, b: Boolean); begin if a then if b then Beep else Beep else {// Kommentar} if b then Beep else Beep; end; Is there an option to keep the lines separate under these circumstances? Do you deem the current behavior desirable?

  • Can anybody confirm, pls
    on 2023-01-10 at 09:59

    - manually rebuild latest GExperts - Start D11.1 - show GExperts config dialog + close with ok - in the Delphi code editor click right mouse for popup menu   --> there is a bit of delay and then Delphi exits without any message or error   tx!

  • Error building rev 3943
    on 2023-01-01 at 22:50

    Attempting to build rev 3943 under D11.2. Get the following..   Regards, Ian

  • No GExperts formatter on Windows 11 with elevated IDE
    on 2022-12-22 at 13:11

    While switching to a new machine I have identical installations of Delphi 10.4 and 11.2 on Windows 10 and Windows 11. Only on Windows 11, the GExperts Code Formatter ignores whatever key combination is assigned to it, when the IDE is run elevated. This is annoying, because I often have to work in an elevated IDE to debug an application that requires elevation. The GExperts folder and its contents are identical, as are the registry keys for GExperts and the configuration settings. Other keystroke combinations configured in GExperts are unaffected, as are operations when the IDE is not run elevated. What might cause this, and might there be a way to avoid the problem?

  • Added a menu item to Grep Search Results
    on 2022-12-15 at 08:25

    I have added a  menu item to the context menu of the Grep Results Context to copy the text selected in the Grep Results source Context:       This is very helpful when you quickly need a piece of code from the search results context.   Here is the changed source code (based on r3924))

  • Multiple Instances of Delphi / GExperts
    on 2022-11-28 at 22:39

    I'm running D11.2 with GExperts I'm trying to launch a 2nd instance of Delphi and I get a blank GExperts error dialog and Delphi freezes. Is there any way to run multiple instances without error?? I really need to work with multiple seperate projects at one time.   TIA.  

  • Grep Results dialog..
    on 2022-11-10 at 22:50

    It would be nice if the Grep Results dialog remembered its last position/size.. It would also be nice to have a Clear Results button on the dialog.

  • [Suggestion] Add a new "Created Date" column to "To Do List"
    on 2022-10-23 at 07:53

    Just an idea - wWithout breaking backward compatibility, It'll be great if the To Do List window has a "Created Date" column, so that one can track when the todo item was added.

  • ProcedureList - Edit edtMethods lost Focus
    on 2022-10-12 at 07:31

    Hi, after Rev 3897 (adding InitDpiScaler) procedure list is focused, not default edtMethods.   It works fine after I commented out calling InitDpiScaler   Windows 10, dual 1920x1200 / default DPI

  • IDE Menu Shortcuts... / ALT+F12
    on 2022-10-03 at 11:44

    Hello,   I want to modify the ALT+F12 shortcut that allows to switch between the form and the text form. I think this shortcut is not in the delphi menu and I can't find it in "IDE Menu Shortcuts...". Did I miss it? If not, would you have a solution to customize the shortcut for this feature?     Thank you very much, Alexandre

  • How should spaces after a comment be handled by the formatter
    on 2022-10-01 at 10:38

    There are currently some unit tests for the GExperts code formatter that fail. It all depends on how spaces after comments {comment} or (*comment*) are handled.   A How should the code formatter handle the following code: procedure bla; begin {some comment} SomeStatement; end; A1 Keep the space after the comment: procedure bla; begin   {some comment} SomeStatement; end; A2 Remove the space after the comment: procedure bla; begin   {some comment}SomeStatement; end;   B what about this code: procedure bla; begin {some comment}SomeStatement; end; B1 should the formatter leave it as is? B2 should it insert a space, so it gets changed into: procedure bla; begin   {some comment} SomeStatement; end;   C what about this code with multiple spaces after the comment: procedure bla; begin {some comment} SomeStatement; end; C1 should the formatter remove the spaces: procedure bla; begin {some comment}SomeStatement; end; C2 or should it reduce them to one space: procedure bla; begin {some comment} SomeStatement; end; C3 or should it leave them as them as they are: procedure bla; begin {some comment} SomeStatement; end;   The current code will always remove the spaces, so its A2, B1 and C1.   I'm tending towards keeping the number of spaces as they are, that would be A1, B1 and C3.   I'm definitely not going to make this configurable. I wouldn't even know how to describe this configuration option.

  • All known Generics bugs fixed in GExperts code formatter
    on 2022-09-28 at 16:48

    I have just finished fixing all known bugs in the GExperts code formatter that were related to Generics. On top of that I fixed a few others. I am sure there are still more though, but because I rarely use Generics I haven’t seen them yet. So I need your help: If you have a lot of source code with Generics, please compile a new DLL and try the formatter on that code. Report any bugs on SourceForge.

  • Change order of experts in GExperts Expert Manager
    on 2022-09-28 at 09:11

    Prompted by a post on Delphi Praxis, I just added a new feature to the Expert Manager expert in GExperts (lots of experts here 😉) :  It can now change the order in which the experts are loaded into the IDE.   read on in the blog post

  • Change the order of loading??
    on 2022-09-16 at 22:32

    Would it be possible for the Expert Manager to change the order of loading of Experts? I ask this in the suspicion that the order of loading will dictate which Expert functionality/hotkey will have priority.   Ian

  • Grep Alt-F7/8 disable builtin shortcuts for message window
    on 2022-09-09 at 08:23

    The Alt-F7/8 shortcuts for moving through compiler messages don't work for me anymore (since some time already). I suspect these GExperts shortcuts to be the culprits: Can anybody confirm the issue? 

  • Ctrl-Alt-F sometimes doesn't
    on 2022-09-06 at 06:40

    Hi Team, D11.1, latest GExperts, Win 11. Sometimes the Ctrl-Alt-F hot key sequence calls the Delphi DebugFPUCommand, and other times it does what I want, calls the GExpertsToolsEditorExportCodeFormatter. What dictates which will be called and when??   Regards, Ian  

  • wuppdi import
    on 2022-08-20 at 12:16

    @baka0815 I would like to discuss the patch for GExperts you put on SourceForge. I think this forum is better suited for that discussion than a bug report on SourceForge.   For everybody else: The patch adds a menu item to the GExperts Favorite Files expert to import the favourites from the wuppdi welcome page. It does that by reading the ini file that wuppdi uses to store its configuration. The user has to select that file and after a confirmation the entries are imported and replace the current configuration.   You requested feedback, so here we go (I'll start with some problems I found and will offer some suggestions) : Your patch did not compile with Delphi 2007 (and anything older) because scoped enums were introduced at some later time. That was easy to fix by simply removing the scope. After that change it compiled and worked It created a new menu item with an associated event rather than using an action as all the other menu items on that form do. I changed that. The file select dialog does not open to %appdata%\embarcadero\bds but only puts that into the filename edit. After pressing enter that directory was shown. In my opinion it should open to the directory that is used by wuppdi in the version of the IDE it runs on, for Delphi 10.2 that would be "%appdata\emvarcadero\bds\19.0", and it should preselect wuppdiwp.ini Overwriting the existing configuration might be fine for people who have used wuppdi and never used the GExperts Favorite Files expert. Others will probably not want to overwrite their configuration, so I think the import should offer to create a folder "wuppdi" with the new entries. If somebody continues to use wuppdi he probably doesn't want to import these entries every time he changes his favourites. Maybe having an option to automatically replace the GExperst favorites with the ones from wuppdi would be a good idea. Nobody wants to maintain such lists in parallel. Alternatively […]

  • GExperts errors when exiting Delphi.
    on 2022-08-15 at 17:55

    When i close Delphi i get a list of 30 or more error screens regarding GExperts.  Here is a screenshot of just one of the screens.  Notice it says 'expert 1'.  As i click OK the next error will be 'expert 2', then 'expert 3', etc... up through 40 or so error screens.   Each of the Error Screens always displays the same 'Read of address xxxxxxxxx'.   I can uninstall, and reinstall GExperts and it will work a time or two and then start giving these errors.  I always have to end-task on Delphi.   Its worth noting that i don't have GExperts Toolbar in my IDE along the top of the Editor Window.  It is a default installation where i get to the GExpert features from its own Menu in Delphi.   I installed GXRS10.4_1.3.21_experimental-twm_2022-04-09.exe  then downloaded the code to bring the build up to 3853 fix the case-sensitivity issue.   Perhaps there is a different/newer combination i could use that might solve the problem.   Any thoughts on what it could be?