diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-03-10 10:13:30 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-03-10 10:13:30 +0100 |
| commit | 2cb60343ed3774d4645d7d14dff8a1119d3c6785 (patch) | |
| tree | 650ba91180babc33547000b95e9259100c2be5f7 /editors/code/src/commands.ts | |
| parent | 0d19ccb3dfb9841ba84367c82a4e75930c189823 (diff) | |
| download | rust-2cb60343ed3774d4645d7d14dff8a1119d3c6785.tar.gz rust-2cb60343ed3774d4645d7d14dff8a1119d3c6785.zip | |
Add fancy buttons to the vscode status message
Diffstat (limited to 'editors/code/src/commands.ts')
| -rw-r--r-- | editors/code/src/commands.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 70b91fe7dc8..f4a4579a92c 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -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; |
