vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Correct default glue setting for Java

Open corey-kdm opened this issue 8 months ago • 2 comments

I noticed the default glue setting for Java projects is slightly incorrect.

Current setting:

https://github.com/cucumber/vscode/blob/0c380d3ddaf8902501255d397a7c2b395149415b/package.json#L78

However, for typical Java projects the path will be: src/test/java/**/*.java

Ideally, the setting would be: **/src/test/java/**/*.java so that multi-module projects are handled.

corey-kdm avatar Jun 10 '25 19:06 corey-kdm

@mpkorstanje possible to advise on conventional step definition and feature file paths within Cucumber JVM projects?

kieran-ryan avatar Jul 23 '25 19:07 kieran-ryan

I don't know much about VS code but **/src/test/java/**/*.java looks reasonable for glue. For features that would then be **/src/test/resources/**/*.feature.

mpkorstanje avatar Jul 23 '25 20:07 mpkorstanje