Warnings about "can't find common list parent" when selecting only trivia at top level
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 446
- Forks
- 32
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 1
Description
This suggests we are not correctly selecting the root expression list
1 + 1
2 + 2
https://github.com/user-attachments/assets/8e7b36f5-9856-4a73-a09b-cc9ff07dd9b1
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
Reproduce the warning by selecting only the top-level trivia in the provided R snippet. Trace how the formatter or language server selects the root expression list; done means that selection no longer reports "can't find common list parent" and the example is handled correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100