[fpc-pascal] Pascal Language Server
genericptr at gmail.com
Tue Apr 28 10:34:57 CEST 2020
> On Apr 28, 2020, at 3:26 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 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.
I can make the user provide the program file and start from there but then the references in other units not related to the main program will not be found.
Mattias says we can call AddStartUnit multiple times but there's no logic I can use besides adding all files in the provided directories.
Here's what I'm trying to implement:
It's just a project wide search so what can we do besides just add all files found in the project?
More information about the fpc-pascal