mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
Add fancy buttons to the vscode status message
This commit is contained in:
parent
0d19ccb3df
commit
2cb60343ed
3 changed files with 31 additions and 12 deletions
|
@ -93,6 +93,14 @@ export function triggerParameterHints(_: CtxInit): Cmd {
|
|||
};
|
||||
}
|
||||
|
||||
export function openLogs(ctx: CtxInit): Cmd {
|
||||
return async () => {
|
||||
if (ctx.client.outputChannel) {
|
||||
ctx.client.outputChannel.show();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export function matchingBrace(ctx: CtxInit): Cmd {
|
||||
return async () => {
|
||||
const editor = ctx.activeRustEditor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue