@cucumber/language-server
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published


Cucumber Language Server

A Language Server for Cucumber

npm test-javascript-package release-package-github backers sponsors

Provides most of the functionality offered by the Cucumber Visual Studio Code Extension and can also be utilised with other editors that support the Language Server Protocol (LSP).

Features

See 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.

Install

Cucumber Language Server is available on npm:

npm install @cucumber/language-server

Settings

The LSP client can provide settings to the server, but the server provides reasonable defaults (see defaultSettings) if the client does not provide them.

The server retrieves cucumber.* settings from the client with a workspace/configuration request.

See Settings for details about the expected format.

External VSCode Usage

We've encountered an issue with the Node version used by Treesitter, 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 if you need it.

Readme

Keywords

Package Sidebar

Install

npm i @cucumber/language-server

Weekly Downloads

643

Version

1.6.0

License

MIT

Unpacked Size

135 kB

Total Files

111

Last publish

Collaborators

  • davidjgoss
  • cukebot