From 5ff324f3f8067f6257b33b6e32a0461fadfb677c Mon Sep 17 00:00:00 2001 From: Tim van der Kooi Date: Tue, 17 Dec 2024 08:59:58 -0800 Subject: [PATCH] Fix capitalization and use LOG_CHANNEL for output --- vscode/package.json | 2 +- vscode/src/rubyLsp.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vscode/package.json b/vscode/package.json index 301c5632d..3dc80479d 100644 --- a/vscode/package.json +++ b/vscode/package.json @@ -156,7 +156,7 @@ }, { "command": "rubyLsp.showOutput", - "title": "Show Output Channel", + "title": "Show output channel", "category": "Ruby LSP" } ], diff --git a/vscode/src/rubyLsp.ts b/vscode/src/rubyLsp.ts index 24ab60721..0b7aa7f5a 100644 --- a/vscode/src/rubyLsp.ts +++ b/vscode/src/rubyLsp.ts @@ -598,8 +598,7 @@ export class RubyLsp { ), ); vscode.commands.registerCommand(Command.ShowOutput, async () => { - const workspace = await this.showWorkspacePick(); - workspace?.lspClient?.outputChannel.show(); + LOG_CHANNEL.show(); }); }