Skip to content

Commit

Permalink
Update language-service
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Oct 5, 2022
1 parent 9b2fb1e commit 520198c
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 35 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Added
- Support for [Cucumber Rust](https://github.com/cucumber-rs/cucumber) ([#82](https://github.com/cucumber/language-service/issues/82), [#99](https://github.com/cucumber/language-service/pull/99))

### Fixed
- Don't throw an error when Regular Expressions have optional capture groups ([#96](https://github.com/cucumber/language-service/issues/96), [#97](https://github.com/cucumber/language-service/pull/97)).

## [0.13.1] - 2022-09-13
### Fixed
- Fixed a regression in URI handling on Windows.
Expand Down
81 changes: 49 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"devDependencies": {
"@cucumber/cucumber": "8.6.0",
"@types/mocha": "10.0.0",
"@types/node": "18.7.17",
"@types/node": "18.8.2",
"@typescript-eslint/eslint-plugin": "5.39.0",
"@typescript-eslint/parser": "5.39.0",
"eslint": "8.24.0",
Expand All @@ -87,7 +87,7 @@
},
"dependencies": {
"@cucumber/gherkin-utils": "^8.0.0",
"@cucumber/language-service": "^0.33.0",
"@cucumber/language-service": "^1.0.0",
"fast-glob": "3.2.12",
"source-map-support": "0.5.21",
"vscode-languageserver": "8.0.2",
Expand Down
3 changes: 3 additions & 0 deletions src/CucumberLanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ const defaultSettings: Settings = {
'features/**/*.py',
// Pytest-BDD
'tests/**/*.py',
// Cucumber Rust
'tests/**/*.rs',
'features/**/*.rs',
// Cucumber-Ruby
'features/**/*.rb',
// SpecFlow
Expand Down
1 change: 1 addition & 0 deletions src/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const glueExtByLanguageName: Record<LanguageName, string[]> = {
php: ['.php'],
ruby: ['.rb'],
python: ['.py'],
rust: ['.rs'],
}

type ExtLangEntry = [string, LanguageName]
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.13.0'
export const version = '0.13.1'

0 comments on commit 520198c

Please sign in to comment.