Consider a 💡 Code Action that opens `DESCRIPTION` or `NAMESPACE` of package at cursor
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 337
- Forks
- 32
- Avg merge
- 8d 17h
- Merged PRs (30d)
- 11
Description
From https://github.com/posit-dev/ark/pull/1172#discussion_r3196462667
Say you write dplyr::across() or library(dplyr)
We probably want Cmd+Click anywhere on dplyr::across() to goto-definition, that seems like it would be the most expected behavior from most users.
But some people may want an easy way to jump to package metadata about dplyr.
We could have a Code Action when the user's cursor is on dplyr of dplyr::across() or library(dplyr) that pops up a 💡 and gives them a few options, like:
- Open
DESCRIPTION - Open
NAMESPACE - Open package documentation (
"_PACKAGE")
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 or tests are named. Start by tracing the existing goto-definition and Code Action handling for R package references such as dplyr::across() and library(dplyr). Done means a cursor on the package name offers actions to open DESCRIPTION, NAMESPACE, and _PACKAGE documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, rust
- Domain
- devtools, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100