posit-dev / posit-dev/positron
Symbol navigator is polluted with headings from snapshot tests
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 183
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Positron Version:
Steps to reproduce the issue:
e.g. open http://github.com/tidyverse/dbplyr and press Cmd + T
These are all headings from snapshots, which you're unlikely to want to navigate to.
What did you expect to happen?
Having headings indexed in other markdown files (particularly Rmds seems useful) but I think you could block indexing for _snaps/ and put all md headings further down the list.
Were there any error messages in the output or Developer Tools console?
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 issue by opening the linked dbplyr repository and pressing Cmd + T, then inspect how the symbol navigator indexes Markdown headings. Done means headings from _snaps/ are excluded while headings from other Markdown files, particularly Rmds, remain available and are ordered lower in the results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100