It's happening In the IDE while I'm writing code; the "Structure" panel reports a number of errors like this. Now that I've used it a lot more, I've realized that CodeInsight is not working at all - not even on normal Delphi syntactic elements. Getting very frustrating and slows down development tremendously.
If I create a new VCL project, doing things like creating...
var
Str : TStrings;
followed by this in the body of a method...
Str := TStringList.Create;
Str. <---
after typing period (.), the IDE immediately shows me CodeInsight's list of methods of the TStrings class of Str... like Add().
When I do the same in my new and mostly-bare TMS Web PWA app, there's no CodeInsight pop-up at that point and it appears that isn't working because of all the "errors" the IDE has listed in the Structure pane at that point in time (which are complaining about things that do indeed exist (and compiles properly), like WEBLib.LocalFiles and TFolder and Kind).
This is using Delphi 10.3 with TMS Web Core v1.6.2.0 installed.
It compiles and runs properly, but is very slow to develop in because I'm not fluent in Web Core yet, so I'm forced to always dig up details in the TMS source code and TMS documentation just to find names of methods I don't know yet.
I didn't see any installation notes that indicate I need to do anything special after installing TMS Web Core to make the Delphi IDE work better. Did I miss something?
Can you check your IDE library path to ensure that it only has the TMS WEB Core folder "Component Library Source" in it and not other TMS WEB Core folders?
However, with that setting in place, now my project doesn't compile - it errors and opens WEBLib.StdCtrls saying that it "can't find unit "Winapi.Windows" in that unit's uses clause.
Seems strange to me - that Library Path setting overrides the IDE's standard library path?
Please let me know if I'm looking in the wrong place.
Do you see the file WEBLib.LocalFiles.pas in the folder "Component Library Source" ?
No, actually, it's not there:
It seems to be in Core Source (instead?):
I haven't messed with any files in the install, so this is exactly how the v1.6.2.0 installer placed them.
Also, in a desperate attempt to solve this, I'm beginning to wonder if my install of Delphi v10.3.2 (plus patches) is at fault... I'm only wondering that because of how Code Insight fails for even standard classes/methods; however, I think that only happened after installing Web Core v1.6.2.0 (or after I started trying to configure Delphi to look in the right places once I noticed the problem).
I do almost all of my development on a virtual machine and I can easily switch to another snapshot and install a newer version, fresh. Wondering if I should move to v10.3.3, or v10.4 Patch 3 (though I'm not sure yet if my purchase/maintenance allows me to run those versions).