Skip to content

Commit

Permalink
fix: glob paths not matching c-sharp files (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-ryan authored Dec 20, 2023
1 parent 928a496 commit d71ef6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Fixed
- Fixed c-sharp glob paths for step definitions and feature files - [#89](https://github.com/cucumber/language-server/pull/89)

### Added
- Allow Javascript/Typescript glue files with the following file extensions: cjs, mjs, cts, mts - [#85](https://github.com/cucumber/language-server/pull/85)

Expand Down
8 changes: 4 additions & 4 deletions src/CucumberLanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const defaultSettings: Settings = {
// Pytest-BDD
'tests/**/*.feature',
// SpecFlow
'*specs*/**/.feature',
'*specs*/**/*.feature',
],
glue: [
// Cucumber-JVM
Expand All @@ -64,9 +64,9 @@ const defaultSettings: Settings = {
'features/**/*.tsx',
'features/**/*.js',
'features/**/*.jsx',
// Behave
'features/**/*.php',
// Behat
'features/**/*.php',
// Behave
'features/**/*.py',
// Pytest-BDD
'tests/**/*.py',
Expand All @@ -76,7 +76,7 @@ const defaultSettings: Settings = {
// Cucumber-Ruby
'features/**/*.rb',
// SpecFlow
'*specs*/**/.cs',
'*specs*/**/*.cs',
],
parameterTypes: [],
snippetTemplates: {},
Expand Down

0 comments on commit d71ef6e

Please sign in to comment.