Re: [racket-users] lsp server

2020-08-17 Thread Catonano
Il giorno dom 16 ago 2020 alle ore 15:48 Philip McGrath <
phi...@philipmcgrath.com> ha scritto:

> On Fri, Jul 31, 2020 at 2:46 PM Catonano  wrote:
>
>> I'm playing with a toy project in #Racket
>> 
>>
> I'd like to use the lsp server…
>>
> how do I connect to it from my Emacs based client ?
>>
>
> Just in case by "use the lsp server" you meant "set up Emacs to work on a
> Racket project" (rather than working *on* the lsp server or client), the
> generally preferred way to edit Racket in Emacs is with Greg Hendershott's
> Racket Mode (actually a package with a few major and minor modes):
> https://www.racket-mode.com
>

Thank you Phillip, I know that the preferred way is the Racket Mode

The reason why I was interested in an lsp server is not that I wanted to
use it to work on some racket based project

The reason is that I am considering implementing an lsp server myself and I
wanted to get my feet wet with the protocol and with some code dealing with
that

I wanted to use a Racket based lsp server as a training ship

Admittedly, after having seen it work, I somewhat lost interest in it

In fact, the part of the protocol is not that difficult

what is harder is the part of dealing with the language implementation to
fetch the information that needs to be sent to the client through the lsp
protocol

So there is not so much value in exploring a racked based lsp server, well,
there's less value than I have hoped

But I still am reassured that I managed to make it work, so I don't feel
like an idiot

Thanks for your help ☺


>
> -Philip
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/01000173f78714a6-5170a43f-d553-407e-89e8-db6db26d911e-00%40email.amazonses.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAJ98PDyA01WpzgW%2BYZMmvG8NT-Z-gM8XY23xmqybd9W8bzAuuQ%40mail.gmail.com.


Re: [racket-users] lsp server

2020-08-16 Thread Philip McGrath
On Fri, Jul 31, 2020 at 2:46 PM Catonano  wrote:

> I'm playing with a toy project in #Racket
> 
>
I'd like to use the lsp server…
>
how do I connect to it from my Emacs based client ?
>

Just in case by "use the lsp server" you meant "set up Emacs to work on a
Racket project" (rather than working *on* the lsp server or client), the
generally preferred way to edit Racket in Emacs is with Greg Hendershott's
Racket Mode (actually a package with a few major and minor modes):
https://www.racket-mode.com

-Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/01000173f78714a6-5170a43f-d553-407e-89e8-db6db26d911e-00%40email.amazonses.com.


Re: [racket-users] lsp server

2020-08-15 Thread Catonano
Il giorno ven 31 lug 2020 alle ore 21:33 Stephen De Gabrielle <
spdegabrie...@gmail.com> ha scritto:

> I don’t know anything about this but I believe
>

I just found how

I need to load the main.rtk file from the lsp server project.

That will start a lsp server answering through the pipe to the process that
started it

I just didn't get the assumptions about the lsp server project and racket
in General

Thanks anyway

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAJ98PDz6KBBTQPj20uhd7Nu8r42txrMeTEJXK0ODmCJ-%3DQWu8A%40mail.gmail.com.


Re: [racket-users] lsp server

2020-07-31 Thread Stephen De Gabrielle
I don’t know anything about this but I believe
https://github.com/cfinegan/atom-ide-racket is a working example.
Might be worth a look at the code to see how it works.

Sorry I can’t be of more help

Best wishes
Stephen

On Fri, 31 Jul 2020 at 19:46, Catonano  wrote:

> I'm playing with a toy project in #Racket
> 
>
> I'd like to use the lsp server
>
> https://docs.racket-lang.org/racket-language-server/index.html
>
> How do I do that ?
>
> Should I require it from my project code ?
>
> Or is it meant to be installed "globally" ?
>
> And after that, how do I connect to it from my Emacs based client ?
>
> Through a network socket ?
>
> Through a Unix socket ?
>
>
> Thanks in advance
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAJ98PDw7q54Kj9VyzrwRW3Ds0qHoN_7yn%2Bg7PdhJEtR84u1OEQ%40mail.gmail.com
> 
> .
>
-- 


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAGHj7-%2BXJ%2BhgStY1-Kq_hsdOrhhQ1bz2CC6qW9XM9Shm2b-hdQ%40mail.gmail.com.