From 0224d162736cb549f47489de37ba21717b65bffc Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Mon, 14 Aug 2023 15:37:27 -0700 Subject: [PATCH] feat: Add compile command to handle Compile code lens --- src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 48599a2..a7cd019 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -149,6 +149,7 @@ function getLspCommand(uri: Uri) { let INTERNAL_COMMANDS = [ { type: "nargo", command: "test", group: TaskGroup.Test }, + { type: "nargo", command: "compile", group: TaskGroup.Build }, ]; function registerCommands(uri: Uri) { @@ -181,7 +182,7 @@ function registerCommands(uri: Uri) { // However, we still want to show the terminal when you run a test task.presentationOptions = { reveal: TaskRevealKind.Always, - panel: TaskPanelKind.Dedicated, + panel: TaskPanelKind.New, clear: true, };