[fpc-pascal] Pascal Language Server

Michael Van Canneyt michael at freepascal.org
Fri Apr 24 09:54:59 CEST 2020



On Fri, 24 Apr 2020, Ryan Joseph via fpc-pascal wrote:

>
>
>> On Apr 24, 2020, at 2:37 PM, Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>> 
>> fpextres.ppu is installed by default on darwin.
>> Maybe you didn't setup codetools for your fpc units. Because of the
>> vast amount of fpc units, codetools needs to scan them once. There is a
>> simple init function, that uses the common environment variables PP,
>> FPCDIR and PATH to find the fpc executable and the fpc sources. It
>> creates a map ppu file to unit source and stores the result in the
>> ConfigFilename. So next time it can quickly read it.
>
> I don't use Lazarus and just killed my entire install last night when I tried to rebuild. I guess I can do this in Lazarus so I'll check now.
>
> Can this not be omitted?

What do you want to omit exactly ?

> For non-Lazarus users it's going to be a problem. That means the language servers requires Lazarus to run at all. Not very good if we an avoid this.

It does not require lazarus, but it does require the FPC source tree.

Michael.


More information about the fpc-pascal mailing list