Index global variable references
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 355
- Forks
- 24
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 17
Description
Not for the MVP: the Ruby LSP doesn't support global variable references yet.
For the long term though, we would like to be able to provide find references and rename for global variables. Even easier than other types of variables, global variables have zero ambiguity in their references. If we see a reference to $var, this can only refer to $var (fully qualifying the name is trivial).
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
No files, tests, or entry points are named. Start by locating the implementation of find references and rename for other variable kinds in the Ruby LSP or static-analysis code, then identify how global variable references fit. Done means global variables such as $var support both operations without ambiguity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, rust
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100