rust-analyzer / rust-analyzer.github.io

https://rust-analyzer.github.io/
87 stars 51 forks source link

Rename Symbol (F2) in VSCode does not work #195

Closed gimmi closed 1 year ago

gimmi commented 1 year ago

Hello,

With a clean installation of VSCode

Visual Studio Code
Version: 1.74.3 (user setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z (5 days ago)
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

and just rust-lang.rust-analyzer version 0.3.1361 installed, the rename symbol functionality (that is, F2 key) is not working.

RenameBug

lnicola commented 1 year ago

Does it work if you remove the tokio attribute? It doesn't matter that the code won't compile any more.

Aloso commented 1 year ago

Note that this is the wrong issue tracker, it is only for RA's website. Issues for rust-analyzer are tracked here.

gimmi commented 1 year ago

Moved in the appropriate repo