From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my_Korwin-Zmijowski?= Newsgroups: gmane.lisp.guile.user Subject: =?US-ASCII?Q?Re=3A_New_release_of_LSP_server=3B_LSP_cl?= =?US-ASCII?Q?ients_for_Emacs_and_VSCodium_available?= Date: Sat, 06 Aug 2022 08:54:24 +0200 Message-ID: <67A0804D-1C89-4F64-9649-213A55E0CC6D@korwin-zmijowski.fr> References: <5aa21528d8fb87686687252ef53cf8e4@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16196"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: guile-user@gnu.org, "Ricardo G. Herdt" , guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Aug 06 08:55:17 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKDiO-0003z6-WE for guile-user@m.gmane-mx.org; Sat, 06 Aug 2022 08:55:17 +0200 Original-Received: from localhost ([::1]:47970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKDiN-0000Fl-Fd for guile-user@m.gmane-mx.org; Sat, 06 Aug 2022 02:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKDhk-0000Fd-4t for guile-user@gnu.org; Sat, 06 Aug 2022 02:54:36 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKDhh-0005OM-Q5 for guile-user@gnu.org; Sat, 06 Aug 2022 02:54:35 -0400 Original-Received: (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay.mail.gandi.net (Postfix) with ESMTPSA id 0EB94240002; Sat, 6 Aug 2022 06:54:26 +0000 (UTC) In-Reply-To: Received-SPF: none client-ip=217.70.183.193; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay1-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18490 Archived-At: Yo! Thank you Ricardo for your work on this ! Really like this project ! J=C3=A9r=C3=A9my=20 Le 5 ao=C3=BBt 2022 22:07:56 GMT+02:00, "Ricardo G=2E Herdt" a =C3=A9crit=C2=A0: >Short update: > >there was a problem concerning automatic installation of server, and some= other bugs=2E In case you tried to install the server or the clients and i= t didn't work properly, please try out the new versions available=2E > >Ricardo > >Am 04=2E08=2E2022 00:32 schrieb Ricardo G=2E Herdt: >> Hi all, >>=20 >> I want to announce some releases related to LSP support for Scheme, >> focusing on Guile=2E >>=20 >> * scheme-lsp-server 0=2E1=2E3 >>=20 >> Besides bug fixes, here what's new: >>=20 >> - scheme-lsp-server now selectively uses geiser code when doable=2E Thi= s >> is especially the case for Guile=2E The goal is to encourage myself and >> contributors to help improving Geiser, and directly benefit of its >> development=2E Obviously only Scheme code is reused=2E >>=20 >> - previously scheme-lsp-server assumed an LSP client would fire up a >> REPL and let the user interact with it, showing LSP-related infos >> depending on things the user actively loaded=2E This is not the way mos= t >> LSP-based tools expect an LSP-server to work though, and has some >> downsides: >>=20 >> + implementing a client is not as trivial as it should be, since >> the developer has to figure out a way to integrate a REPL into the >> IDE/editor, and send commands to it to "guide" the LSP server=2E >> + developers used to other LSP-based tools can be surprised to see >> that they have to actively load stuff in order to get meaningful >> feedback from the IDE=2E >>=20 >> Therefore I did a major design change: scheme-lsp-server now does it's >> best to automatically compile/import files opened by the user >> (including dependencies)=2E This makes the task of implementing an LSP >> client much easier: just launch guile-lsp-server and call it a day=2E I >> added some notes regarding creating new LSP clients for other >> editors/IDE's: >>=20 >> https://codeberg=2Eorg/rgherdt/scheme-lsp-server#creating-an-lsp-client >>=20 >> One important note: for now, the LSP server needs to "see" library >> definitions in order to compile and import needed libraries=2E See >> https://codeberg=2Eorg/rgherdt/scheme-lsp-server/#user-content-known-is= sues=2E >>=20 >> * emacs-lsp-scheme 0=2E1=2E0 (available on MELPA) >>=20 >> The first versions of emacs-lsp-scheme had a custom REPL (based on >> Emacs' built-in scheme support) that was connected to the LSP server=2E >> Following the changes to the LSP server, I decoupled the >> emacs-lsp-scheme from the REPL=2E This seems to be a regression at >> first, but the idea is that one can simply use "run-scheme" to launch >> a REPL, and this does not interfere with the LSP server=2E For deeper >> integration of Guile and Emacs, Geiser is still the way to go=2E >> See the README file for instructions on how to configure it: >> https://codeberg=2Eorg/rgherdt/emacs-lsp-scheme >>=20 >> * vscode-scheme-lsp 0=2E2=2E1 (available for VSCodium on open-vsx) >>=20 >> Following the same ideas of emacs-lsp-scheme, this extension now >> focuses on basically providing LSP support=2E The user can install othe= r >> extensions to get syntax highlighting and an integrated REPL=2E >> Here the code: https://codeberg=2Eorg/rgherdt/vscode-scheme-lsp=2E >>=20 >> I only tested all this on Debian buster=2E Please let me know if you >> experience any trouble installing/using it=2E >>=20 >> Regards, >>=20 >> Ricardo G=2E Herdt >