lsp-server
Description
An LSP Server for Scheme. Two LSP clients are currently being developed (both on an early stage of development):
- Emacs: https://codeberg.org/rgherdt/emacs-lsp-scheme
- VS Code: https://codeberg.org/rgherdt/vscode-scheme-lsp
Authors
Ricardo G. Herdt
Repository
https://codeberg.org/rgherdt/scheme-lsp-server
Requirements
Documentation
API
[parameter] lsp-server-log-levelA symbol to control the server's verbosity. It can be either 'error, 'warning, 'info or 'debug.
[procedure] (lsp-server-start/stdio)Start an LSP server listening on stdio.
[procedure] (lsp-server-start/tcp tcp-port-number)Start an LSP server listening on tcp-port-number (integer).
Examples
(import (lsp-server)) (parameterize ((lsp-server-log-level 'debug)) (lsp-server-start/tcp 10001))
License
MIT License
Copyright (c) 2022 Ricardo G. Herdt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Version History
- 0.4.7
- bug fix (don't crash on out-of-boundary requests)
- 0.4.4
- bug fixes (including out-of-index crash when working with utf8 text)
- 0.4.2 - 0.4.3
- Fix problems using chicken-doc
- 0.4.1
- Fix bugs dealing with empty files
- 0.4.0
- Add diagnostics support
- 0.3.0
- Rearrange implementation specific code (move inside lsp-server/private); scan module on-demand; add generic compat layer; several bug fixes
- 0.1.4 and 0.1.5
- bug fixes
- 0.1.3
- Revert change to file-table; distribution-files to exclude non-chicken files; bug fix to line/char->pos
- 0.1.2
- Fix issue releasing 0.1.1 (tag moved)
- 0.1.1
- Minor fix (file-table is now a parameter); other changes are Guile-specific
- 0.1.0
- BREAKING CHANGE: lsp-server-start is called lsp-server-start/tcp, argument "tcp-error-port-number" removed. Prepare ground for selectively using geiser code.
- 0.0.1
- Initial version.