nvim-treesitter / nvim-treesitter/nvim-treesitter-textobjects
Expand the @class objects for Scala
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Tree-sitter Query
- Stars
- 2.8k
- Forks
- 271
- Avg merge
- 8d 8h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
It's surprising that @class covers classes & objects in Scala, but not traits nor givens.
Describe the solution you'd like
Include given_definition, trait_definitionunder@class`
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Scala @class query and compare its existing class/object entries with the requested given_definition and trait_definition captures. Done means @class includes both captures alongside the existing entries, with the relevant repository checks passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100