Currently .mts files (and probably .mjs, .cjs and .cts) are ignored as glue files:
[Info - 5:31:37 PM] * Found 2 feature file(s) in ["features/**/*.feature"]
[Info - 5:31:37 PM] * Found 50 steps in those feature files
[Info - 5:31:37 PM] * Found 0 glue file(s) in ["features/step-definitions/**/*.mts"]
[Info - 5:31:37 PM] * Found 0 parameter types in those glue files
[Info - 5:31:37 PM] * Found 0 step definitions in those glue files
π€ What's the problem you're trying to solve?
Currently .mts files (and probably .mjs, .cjs and .cts) are ignored as glue files:
β¨ What's your proposed solution?
To add those files extensions to the supported ones, I think it should probably be added in https://github.com/cucumber/language-server/blob/main/src/fs.ts and https://github.com/cucumber/language-server/blob/main/src/CucumberLanguageServer.ts to support those file extensions.
β Have you considered any alternatives or workarounds?
Yes, to use simple ts files but I would prefer to keep .mts files
π Any additional context?
-
This text was originally generated from a template, then edited by hand. You can modify the template here.