cucumber / cucumber/language-server
Workspace configuration file support for settings
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 35
- Avg merge
- 6h 26m
- Merged PRs (30d)
- 1
Description
### 🤔 What's the problem you're trying to solve?
The `features` and `glue` settings in the language server are only configurable in the configuration sent during the startup process. However, almost all clients only support sending them in the global settings. This forces users to declare all possible styles to ensure that `features` and `glue` work as expected. Additionally, this can reduce performance when the search pattern is extensive, and conflicts may arise in the groups at times.
### ✨ What's your proposed solution?
Provide a way to set configurations at the workspace level. We can reuse the `cucumber.json` settings file from `cucumber.js`.
### ⛏ Have you considered any alternatives or workarounds?
Alternatively, we can add a configuration file like `cucumber-config.json`, inspired by `jsconfig.json` of TypeScript, which does nothing except providing IDE support.
### 📚 Any additional context?
None
----
*This text was originally generated from a [template](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates), then edited by hand. [You can modify the template here.](https://github.com/cucumber/.github/edit/main/.github/ISSUE_TEMPLATE/feature_request.md)*
Contributor guide
Assessment
This issue has not been assessed yet.