Skip to content

Support Scala glue files, bump language-service - #157

Merged
davidjgoss merged 4 commits into
mainfrom
scala
Nov 5, 2026
Merged

davidjgoss merged 4 commits into
mainfrom
scala

Conversation

@davidjgoss

@davidjgoss davidjgoss commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

🤔 What's changed?

  • Upgrade to @cucumber/language-service 2.0.0, which adds Scala support. This needs vscode-languageserver 11 (and matching vscode-jsonrpc/vscode-languageserver-protocol in tests), since both must use vscode-languageserver-types 3.18.
  • Map .scala glue files to the scala language, and add src/test/**/*.scala to the default glue globs.

⚡️ What's your motivation?

language-service 2.0.0 has Scala support (cucumber/language-service#237), but the server never loaded .scala files.

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@davidjgoss davidjgoss changed the title Support Scala glue files Support Scala glue files, bump language-service Nov 5, 2026
@davidjgoss
davidjgoss marked this pull request as ready for review November 5, 2026 18:03
@davidjgoss
davidjgoss merged commit 7560318 into main Nov 5, 2026
12 checks passed
@davidjgoss
davidjgoss deleted the scala branch November 5, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant