Jump to content

Uwe Raabe

  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Uwe Raabe

  1. 2 minutes ago, Jacek Laskowski said:

    has a parser that works in the background

    That's basically what MMX does, too. Besides the IDE itself (with active CodeInsight) there may as well be other plugins spawning their own parser process. This bothers me for years now. It might get better when LSP is up and working reliably, but that might take a while and will be restricted on newer Delphi versions.


    Thanks for the tip, though. 👍

  2. 5 minutes ago, Martyn Spencer said:

    I am still trying to find where Delphi replaces component references. I think it could well be at the streaming stage.

    Indeed, it is! The references are resolved in TReader.FixupReferences and are based on component names. To wire the datasource on the datamodule to the controls on the form, the datamodule has to be created before the form loads. As all forms and datamodules register themselves in the Screen.Forms and Screen.Datamodules lists, they are found by simply iterating over these lists in the Vcl.Forms.FindGlobalComponent procedure, which is registered via RegisterFindGlobalComponentProc.


    You can register your own FindGlobalComponentProc this way, which takes precedence over the internal one (System.Classes.FindGlobalComponents uses a reverse loop). The implementation might be a bit tricky, though.

    • Thanks 2

  3. 3 hours ago, limelect said:

    I took a few lines of code and moved them to watch list

    I guess we are talking about valid expressions and not arbitrary code.


    BTW, even arbitrary code can be pasted or dragged into the watch list. Often that doesn't make any sense, though, as most of the time you will see an E2156 Expression too complicated.

  4. 50 minutes ago, PeterPanettone said:

    There is no "IDE Insight toolbar" item in my list of toolbars in Delphi Rio 10.3.3:

    Seems as the IDE Insight toolbar is not part of the toolbars anymore, there is no way to reset it as described.


    1 hour ago, PeterPanettone said:

    It seems that the "wuppdi Welcome Page" is the culprit.

    Well, the wuppdi Welcome Page options provide a checkbox for "Include Favorites in IDEInsight". It might help to just disable that one.