Scope paths where step definition snippets are generated
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
### 🤔 What's the problem you've observed?
When using a package that provides a list of gherkins, and when having custom gherkin, then the step definition will suggest both the package's step definition files and the local files. Where it should be only the local files, or a specified list of files.
```json
"cucumber.glue": [
// writable
"uuv/cucumber/**/*.ts",
"node_modules/@uuv/*/src/cucumber/step_definitions/*/unsafe/**/_en-*.ts",
"node_modules/@uuv/*/src/cucumber/step_definitions/*/generated/en/*.ts",
"node_modules/@uuv/*/src/cucumber/step_definitions/*/generated/enriched/*/*.ts"
],
```

### ✨ Do you have a proposal for making it better?
I am thinking of 2 solutions:
- Split the `glue` property into 2 properties
- Make the `glue` property allow having object syntax, where we can add a key called `showInAutoCompletion` or something similar
### 📚 Any additional context?
I am using [uuv](https://github.com/Orange-OpenSource/uuv), so this issue is not wide spread yet
Contributor guide
Assessment
This issue has not been assessed yet.