On Tue, 28 Apr 2020, Ryan Joseph via fpc-pascal wrote:



On Apr 28, 2020, at 3:06 PM, Mattias Gaertner via fpc-pascal 
<fpc-pascal@lists.freepascal.org> wrote:

You can add any number of files as start. Just call AddStartUnit
for every starting module.
For example add all Pascal modules of the workspace directory.

In TCodeToolsOptions we provide FPCOptions and ProjectDir so code tools
should have a number of directories to search for.  At startup does it
parse these files automatically or otherwise scan for pascal files?  I can
rescan myself but I thought code tools may already have this loaded up and
ready to us.

That's a wrong approach. Pascal units are in a uses-tree. You need a starting point, the top of the tree: a single module.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to