I’m trying to use the CompleteCode function in the CodeTools library and doing
some formatting I don’t want.
Calling it over the “MyProcedure” method in the class it added a comment and
moved the declaration under the variable section instead of directly under the
class declaration like I would
On Tue, 4 Oct 2022, Hairy Pixels wrote:
On Oct 3, 2022, at 10:48 PM, Michael Van Canneyt via fpc-pascal
wrote:
FPC's JSON-RPC is designed to be used using HTTP(s) transport only, i.e.
synchronous request and answer.
Hence Ryan's failure to achieve what he wants to do.
But if changes ne
On Tue, 4 Oct 2022 14:10:29 +0700
Hairy Pixels via fpc-pascal wrote:
> I’m trying to use the CompleteCode function in the CodeTools library
> and doing some formatting I don’t want.
>
> Calling it over the “MyProcedure” method in the class it added a
> comment and moved the declaration under the
> On Oct 4, 2022, at 2:40 PM, Mattias Gaertner via fpc-pascal
> wrote:
>
> If you don't want the comment above the class, use
>
> with CodeToolBoss.SourceChangeCache.BeautifyCodeOptions do
> begin
> ClassHeaderComments:=false;
> ClassImplementationComments:=false;
> end;
>
Great thanks.
On Tue, 4 Oct 2022 14:47:29 +0700
Hairy Pixels via fpc-pascal wrote:
> > On Oct 4, 2022, at 2:40 PM, Mattias Gaertner via fpc-pascal
> > wrote:
> >
> > If you don't want the comment above the class, use
> >
> > with CodeToolBoss.SourceChangeCache.BeautifyCodeOptions do
> > begin
> > ClassHea
Michael wrote:
> Seems like both parts in the LSP protocol are playing 'client' and 'server',
> because:
>
> "The Client is defined as the origin of Request objects and the handler of
> Response objects.
> The Server is defined as the origin of Response objects and the handler of
> Request obj
On Tue, 4 Oct 2022, Wayne Sherman wrote:
Michael wrote:
Seems like both parts in the LSP protocol are playing 'client' and 'server',
because:
"The Client is defined as the origin of Request objects and the handler of
Response objects.
The Server is defined as the origin of Response obje
Testing now and I found a potential bug in CodeTools. With this code here:
Request := specialize TLSPStreaming.ToJSON(Params);
I get the error "illegal qualifier . found" @ 146:53.
Does CodeTools not understand generic class function calls? Here is the class
in question:
generic TLSPStream