0

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

Chayim Friedman
  • 47,971
  • 5
  • 48
  • 77
bluenote10
  • 23,414
  • 14
  • 122
  • 178

1 Answers1

-1

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.)

bluenote10
  • 23,414
  • 14
  • 122
  • 178
  • 1
    What I don't understand yet is how that version relates to the versions shown on the [GitHub release page](https://github.com/rust-lang/rust-analyzer/releases) and the [changelog](https://rust-analyzer.github.io/thisweek). On first glance, there's no obvious connection to me. – bluenote10 Dec 09 '22 at 13:42
  • Same problem - no idea now to translate this version to github's version. What... – let4be Jan 01 '23 at 15:22