Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- Optimised default glue paths for improved indexing performance ([#232](https://github.com/cucumber/vscode/pull/232))

## [1.10.0] - 2024-04-21
### Added
Expand Down
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ Default value:
```json
{
"cucumber.features": [
"src/test/**/*.feature",
"features/**/*.feature",
"src/test/**/*.feature",
"tests/**/*.feature",
"*specs*/**/*.feature"
]
Expand All @@ -177,19 +177,9 @@ Default value:
```json
{
"cucumber.glue": [
"*specs*/**/*.cs",
"features/**/*.js",
"features/**/*.jsx",
"features/**/*.php",
"features/**/*.py",
"features/**/*.rs",
"features/**/*.rb",
"features/**/*.ts",
"features/**/*.tsx",
"features/**/*_test.go",
"src/test/**/*.java",
"tests/**/*.py",
"tests/**/*.rs"
"features/**/*{.js,.jsx,.php,.py,.rb,.rs,.ts,.tsx,_test.go,.java}",
"tests/**/*{.py,.rs}",
"*specs*/**/*.cs"
]
}
```
Expand Down
22 changes: 6 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,24 @@
"title": "Cucumber",
"properties": {
"cucumber.features": {
"markdownDescription": "The `cucumber.features` setting overrides where the extension\nshould look for `.feature` files.\n\nIf no feature files are found, [autocomplete](#autocomplete)\nwill not work.\n\nDefault value:\n\n```json\n{\n \"cucumber.features\": [\n \"src/test/**/*.feature\",\n \"features/**/*.feature\",\n \"tests/**/*.feature\",\n \"*specs*/**/*.feature\"\n ]\n}\n```",
"markdownDescription": "The `cucumber.features` setting overrides where the extension\nshould look for `.feature` files.\n\nIf no feature files are found, [autocomplete](#autocomplete)\nwill not work.\n\nDefault value:\n\n```json\n{\n \"cucumber.features\": [\n \"features/**/*.feature\",\n \"src/test/**/*.feature\",\n \"tests/**/*.feature\",\n \"*specs*/**/*.feature\"\n ]\n}\n```",
"type": "array",
"required": false,
"default": [
"src/test/**/*.feature",
"features/**/*.feature",
"src/test/**/*.feature",
"tests/**/*.feature",
"*specs*/**/*.feature"
]
},
"cucumber.glue": {
"markdownDescription": "The `cucumber.glue` setting overrides where the extension\nshould look for source code where step definitions and\nparameter types are defined.\n\nIf no glue files are found, [autocomplete](#autocomplete)\nwill not work, and all Gherkin steps will be underlined as\nundefined. [Generate step definition](#generate-step-definition)\nwill not work either.\n\nDefault value:\n\n```json\n{\n \"cucumber.glue\": [\n \"*specs*/**/*.cs\",\n \"features/**/*.js\",\n \"features/**/*.jsx\",\n \"features/**/*.php\",\n \"features/**/*.py\",\n \"features/**/*.rs\",\n \"features/**/*.rb\",\n \"features/**/*.ts\",\n \"features/**/*.tsx\",\n \"features/**/*_test.go\",\n \"src/test/**/*.java\",\n \"tests/**/*.py\",\n \"tests/**/*.rs\"\n ]\n}\n```",
"markdownDescription": "The `cucumber.glue` setting overrides where the extension\nshould look for source code where step definitions and\nparameter types are defined.\n\nIf no glue files are found, [autocomplete](#autocomplete)\nwill not work, and all Gherkin steps will be underlined as\nundefined. [Generate step definition](#generate-step-definition)\nwill not work either.\n\nDefault value:\n\n```json\n{\n \"cucumber.glue\": [\n \"features/**/*{.js,.jsx,.php,.py,.rb,.rs,.ts,.tsx,_test.go,.java}\",\n \"tests/**/*{.py,.rs}\",\n \"*specs*/**/*.cs\"\n ]\n}\n```",
"type": "array",
"required": false,
"default": [
"*specs*/**/*.cs",
"features/**/*.js",
"features/**/*.jsx",
"features/**/*.php",
"features/**/*.py",
"features/**/*.rs",
"features/**/*.rb",
"features/**/*.ts",
"features/**/*.tsx",
"features/**/*_test.go",
"src/test/**/*.java",
"tests/**/*.py",
"tests/**/*.rs"
"features/**/*{.js,.jsx,.php,.py,.rb,.rs,.ts,.tsx,_test.go,.java}",
"tests/**/*{.py,.rs}",
"*specs*/**/*.cs"
]
},
"cucumber.parameterTypes": {
Expand Down