cisco / ChezScheme

Chez Scheme
Apache License 2.0
6.91k stars 983 forks source link

Feature request: add support for the language server protocol #495

Open awshelley-beckman opened 4 years ago

awshelley-beckman commented 4 years ago

https://langserver.org/

Basically, a language server would allow IDEs to do various useful things with the language, including context-sensitive autocomplete, finding all references to a symbol, and jumping to a procedure's definition. It makes it much easier to grok a large codebase!

Borderliner commented 4 years ago

I second this. It will help with Chez Scheme's popularity immensely.

amirouche commented 3 years ago

An effort to support code editors as part of SRFI process is warming up.

Chime in!

bjornkihlberg commented 2 years ago

Oh my god yes! This language is so interesting but it's hard to evangelize it without some basic tools.

Borderliner commented 2 years ago

I wish for good news in 2021. I don't know much Scheme, I would help otherwise.

payneca commented 2 years ago

Swish-Lint is a language server that can help navigate Scheme programs. The code is written using Swish but does not require Swish to run.

In the README, I've included instructions for configuring Emacs. Prebuilt binaries based on Swish 2.2.0 and Chez Scheme 9.5.6 for Windows 10, macOS 11.6, and Ubuntu 20.04 are available from the Github Releases page.

Borderliner commented 2 years ago

@payneca Emacs is not enough. Although I love the keybindings, I could never get into this old bloatware. I'd rather use a popular editor like VSCode and have LSP too.