[fpc-pascal] Pascal Language Server

Michael Van Canneyt michael at freepascal.org
Thu Apr 23 10:05:46 CEST 2020



On Thu, 23 Apr 2020, Ryan Joseph via fpc-pascal wrote:

>
>
>> On Apr 23, 2020, at 2:08 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>> 
>> VSCode has omnipascal ?
>> (The TMS Web core VS Code studio plugin uses this, and it seems pretty complete)
>
> yes it does but they don't support ObjFPC mode syntax very well which means things like the "generic" keyword and "is nested" to name a couple, break the parser and render the entire document invalid.
>
> It's also closed source and likely to be for profit eventually which is a deal break imo. A language server for FPC is too important to be allowed to be within a single companies control.

I also noticed this !

This is exactly why I prefer not to use it, and why I applaud this native implementation :-)

As for the missing ability to send partial updates:
that's up to the "big company" to fix.

Come to think of it, I suppose this is one more reason why 'modern' web development
consists out of 1000-s of small files with essentially 1 function... 
To keep LSP happy :)

Michael.


More information about the fpc-pascal mailing list