rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
13.62k stars 1.49k forks source link

Extract Method disappears #17171

Open WamboOSX opened 2 weeks ago

WamboOSX commented 2 weeks ago

When I reload the VS Code Window, I can select "Extract Method" for a few Seconds.


image

After everything is loaded "Extract Method" disappears


image

And sometimes, it randomly comes back as an option.

Also happens for new Projects: image

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