rust-lang / rust-lang/rust-analyzer
Extract Method disappears
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
When I reload the VS Code Window, I can select "Extract Method" for a few Seconds.
After everything is loaded "Extract Method" disappears
And sometimes, it randomly comes back as an option.
Also happens for new Projects:
rust-analyzer version: rust-analyzer version: 0.3.1940-standalone (f216be4a0 2024-04-27)
rustc version: rustc 1.77.2 (25ef9e3d8 2024-04-09)
editor or extension: VSCode
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 in a VS Code Window using the reported rust-analyzer and rustc versions, and observe when the Extract Method action disappears or returns after loading. Compare behavior in the existing project and a new project; done means the action remains consistently available when its conditions are met.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100