feat: native Kotlin step definition support via language-server fork#13
Open
marton78 wants to merge 5 commits into
Open
feat: native Kotlin step definition support via language-server fork#13marton78 wants to merge 5 commits into
marton78 wants to merge 5 commits into
Conversation
Bump extension version and switch tree-sitter grammar to alistairstead fork Update README with npm install instructions and note about global layout Merge LSP settings into top-level config to support both push and pull Update highlights, indents, injections and outline to match grammar
- bump grammar commit for step_quoted_string node support - add step_quoted_string, step_context, description, data_table highlights - add step groups, data_table, doc_string to indent nodes - add examples_definition to outline
f665363 to
66f5665
Compare
Adds Kotlin and Scala glue file support by installing the @marton78/cucumber-language-server fork, which includes: - Kotlin/Scala step definition and @ParameterType parsing - Fix: reindex crash on null/malformed DidChangeConfiguration settings - Fix: wasmBasePath resolution when @cucumber/language-service is hoisted worktree.which() takes precedence for users with a global install. The npm fallback installs automatically for everyone else. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switch the language server package from
@cucumber/language-serverto@marton78/cucumber-language-server, a fork that adds Kotlin/Scala support and two bug fixes while the upstream PRs are pending review.The only code change is two constants —
SERVER_PATHandPACKAGE_NAME.What the fork adds
.kt,.kts, and.scalafiles are discovered and parsed as glue filesDidChangeConfigurationsettings (as sent by Zed) no longer crash the server@cucumber/language-serviceis hoisted by npmDependency chain
cucumber/language-service#304 — Kotlin tree-sitter parsingcucumber/language-server#140 — glue file discovery + bug fixesOnce #304 and #140 merge and a new official
@cucumber/language-serveris published, the two constants revert to@cucumber/language-server.Test plan
🤖 Generated with Claude Code