I'm trying out OmniPascal but I can't get it to find units in the Delphi installation directory like System.SysUtils. It just tells me that it cannot find the unit. See the attached image. Any ideas what I could be doing wrong?
It also doesn't find units in the local workspace for a very large Delphi project folder (thousands of files and hundreds of folders).
There's a bug in the OmniPascalServer.exe
in version 0.10.0 and below. The bug prevents the server from finding folders having the system
, hidden
or archive
flag set. This leads to unresolvable unit names when a unit is placed in a folder with at least one of said attributes set.
Version 0.11.0 will fix that bug.
Workaround for version 0.10.0 and below:
Ensure there are no folders in your search path having above listed attributes set.