Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat (tabby-common): Add Scala Language Support with Tree-Sitter Parsing #4080

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

roman0yurin
Copy link

This PR introduces syntax support for the Scala language. It expands the stop word list specifically for Scala and integrates syntax tree parsing via Tree-Sitter. These changes improve code analysis and facilitate more accurate completions when working with Scala source files.

Changes:
• Added Scala-specific stop words.
• Integrated Tree-Sitter to parse Scala syntax trees.
• Updated configuration to handle Scala language nuances.

Testing:
Tested against a range of small Scala code examples to ensure robust parsing and better code insights. No regressions detected.

Thank you for reviewing this contribution!

@roman0yurin roman0yurin changed the title Add Scala Language Support with Tree-Sitter Parsing feat: Add Scala Language Support with Tree-Sitter Parsing Mar 27, 2025
@roman0yurin roman0yurin changed the title feat: Add Scala Language Support with Tree-Sitter Parsing feat (tabby-common) : Add Scala Language Support with Tree-Sitter Parsing Mar 27, 2025
@roman0yurin roman0yurin changed the title feat (tabby-common) : Add Scala Language Support with Tree-Sitter Parsing feat (tabby-common): Add Scala Language Support with Tree-Sitter Parsing Mar 27, 2025
@wsxiaoys
Copy link
Member

Thanks for the PR! Overall LGTM.

Please also update https://tabby.tabbyml.com/docs/references/programming-languages/ in this PR

@roman0yurin
Copy link
Author

roman0yurin commented Mar 31, 2025

Thank you so much for the feedback! I’ve now updated the page to note that Scala is supported. Since I already added the stop words and syntax in a previous commit, there weren’t any other changes necessary. Please let me know if there’s anything else I can clarify or improve. I appreciate your help and look forward to continuing our collaboration on Tabby!

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.

2 participants