Skip to content

Conversation

roman0yurin
Copy link
Contributor

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
Contributor 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!

@zwpaper zwpaper changed the title feat (tabby-common): Add Scala Language Support with Tree-Sitter Parsing feat(language): Add Scala support with tree-sitter parsing May 3, 2025
@zwpaper zwpaper changed the title feat(language): Add Scala support with tree-sitter parsing feat(language): Add Scala support with tree-sitter parsing May 3, 2025
@zwpaper zwpaper linked an issue May 3, 2025 that may be closed by this pull request
@wsxiaoys wsxiaoys merged commit c480529 into TabbyML:main May 3, 2025
1 check passed
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.

Add full support for Scala programming language
2 participants