https://github.com/cucumber/language-server
Cucumber Language Server
https://github.com/cucumber/language-server
polyglot-release
Last synced: 9 months ago
JSON representation
Cucumber Language Server
- Host: GitHub
- URL: https://github.com/cucumber/language-server
- Owner: cucumber
- License: mit
- Created: 2021-10-12T13:48:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T04:27:54.000Z (about 1 year ago)
- Last Synced: 2024-10-29T14:46:55.108Z (about 1 year ago)
- Topics: polyglot-release
- Language: TypeScript
- Homepage:
- Size: 3.28 MB
- Stars: 36
- Watchers: 66
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Cucumber Language Server
A Language Server for Cucumber
Provides most of the functionality offered by the
[Cucumber Visual Studio Code Extension](https://github.com/cucumber/vscode) and can also be utilised with other editors that support the Language Server Protocol (LSP).
## Features
See [Cucumber Language Service](https://github.com/cucumber/language-service), which implements most of the logic in this server.
If you are looking to add a new feature, you should probably add it to [Cucumber Language Service](https://github.com/cucumber/language-service).
## Install
Cucumber Language Server is [available on npm](https://www.npmjs.com/package/@cucumber/language-server):
```console
npm install @cucumber/language-server
```
### Settings
The LSP client can provide settings to the server, but the server provides [reasonable defaults](https://github.com/cucumber/language-server/blob/main/src/CucumberLanguageServer.ts) (see `defaultSettings`) if the client does not
provide them.
The server retrieves `cucumber.*` settings from the client with a [workspace/configuration](https://microsoft.github.io/language-server-protocol/specification#workspace_configuration) request.
See [Settings](https://github.com/cucumber/language-server/blob/main/src/types.ts) for details about the expected format.
## External VSCode Usage
We've encountered an issue with the Node version used by [Treesitter](https://github.com/tree-sitter/tree-sitter/issues/2338), a
dependency of this language server, when working outside of VSCode. For optimal
compatibility, please use the same Node version as version 18 of VSCode.
## Support
Support is [available from the community](https://cucumber.io/tools/cucumber-open/support/) if you need it.