简体   繁体   中英

How to determine the rust-analyzer version used by VSCode?

How can I find out which version of rust-analyzer is used by the extension with the same name in VSCode?

Displaying the rust-analyzer version is possible via a palette command in VSCode:

  • Open command palette Ctrl/⌘ + Shift + P
  • Type / select: rust-analyzer: Show RA Version

Under Linux, the extension installs the rust-analyzer binary into ${HOME}/.vscode/extensions . Therefore, the reported version by the command should be in line with the output of

${HOME}/.vscode/extensions/rust-lang.rust-analyzer-*/server/rust-analyzer --version

(unless rust-analyzer.server.path is configured manually.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM