Add fancy buttons to the vscode status message

This commit is contained in:
Lukas Wirth 2023-03-10 10:13:30 +01:00
parent 0d19ccb3df
commit 2cb60343ed
3 changed files with 31 additions and 12 deletions

View file

@ -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;