mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Improve server version info
This commit is contained in:
parent
88014fcec0
commit
4e48a73f9c
5 changed files with 45 additions and 1 deletions
9
editors/code/src/commands/server_version.ts
Normal file
9
editors/code/src/commands/server_version.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import * as vscode from 'vscode';
|
||||
import { ServerVersion } from '../installation/server';
|
||||
import { Cmd } from '../ctx';
|
||||
|
||||
export function serverVersion(): Cmd {
|
||||
return () => {
|
||||
vscode.window.showInformationMessage('rust-analyzer version : ' + ServerVersion);
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue