[fpc-pascal] Pascal Language Server
arjan at adriaan.se
Fri Apr 24 11:25:59 CEST 2020
Indeed with the current way JSON streaming is handled, optional values
are not considered. This needs more work and the issue is tracked
On Fri, 24 Apr 2020 16:10:47 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> > On Apr 24, 2020, at 3:59 PM, Arjan Adriaanse <arjan at adriaan.se>
> > wrote:
> > FPCDIR="/usr/lib/fpc/3.2.0/source"
> > LAZARUSDIR="/usr/share/lazarus"
> I see now! I didn't know that but it's easy to document once we get
> that far.
> btw, I'm having a problem with the fact that published un-set
> properties are being set with null values. Some of the fields are
> marked as optional in the protocol and returning a NULL value could
> be an error which crashes the client. I don't have much experience
> with streaming RTTI so I don't know how to resolve this.
> For example this "documentation" property will always be set to null
> but really what want is to omit the key entirely.
> property documentation: TMarkupContent read fDocumentation write
> Ryan Joseph
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the fpc-pascal