rust-lang / rust-lang/rust-analyzer
Support copying the name of the item under the cursor
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Many functions, types, or static variables have a name that I can refer to, something like mod_1::Type2::function_3, etc. I hope rust-analyzer can support copying this name to the clipboard, so it is easy for users to refer to the corresponding items.
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
Start by tracing rust-analyzer's handling of the item under the cursor for functions, types, and static variables, then identify how an editor action could expose the item's name to the clipboard. The work is done when users can invoke the action and copy the corresponding item name, including qualified names such as mod_1::Type2::function_3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100