cucumber / language-service

Cucumber Language Service
MIT License
12 stars 21 forks source link

Scala Support #207

Open yzia2000 opened 1 week ago

yzia2000 commented 1 week ago

🤔 What's the problem you're trying to solve?

Would love to get support for scala

✨ What's your proposed solution?

The parser should be fairly similar to java

⛏ Have you considered any alternatives or workarounds?

No response

📚 Any additional context?

No response

kieran-ryan commented 1 week ago

Appreciate the request @yzia2000!

Is cucumber/cucumber-jvm-scala the framework you are using?

We utilise tree-sitter parsers. One issue to note is that I observe the Scala parser presently has an issue with releasing to npm (tree-sitter/tree-sitter-scala#344). Will need to see whether a suitable workaround can be found or whether to await a fix - there seems to be some recent movement on that ticket.

yzia2000 commented 1 week ago

Appreciate the request @yzia2000!

Is cucumber/cucumber-jvm-scala the framework you are using?

We utilise tree-sitter parsers. One issue to note is that I observe the Scala parser presently has an issue with releasing to npm (tree-sitter/tree-sitter-scala#344). Will need to see whether a suitable workaround can be found or whether to await a fix - there seems to be some recent movement on that ticket.

Thanks for the prompt reply. Yes I use cucumber-jvm-scala. Precisely the ScalaDsl for step definitions. Noted on the scala treesitter issue - would need a deep dive to understand.