nvim-treesitter / nvim-treesitter/nvim-treesitter-textobjects

Expand the @class objects for Scala

Open
#709 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.