From 2ed9590219e80da0d5927aa9f73e407fa4d5a99f Mon Sep 17 00:00:00 2001 From: Madang Garden Date: Sat, 5 Oct 2024 18:02:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vscode/package.json | 14 +++++++------- packages/vscode/src/extension.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/vscode/package.json b/packages/vscode/package.json index e162dd65..9b21f085 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -29,7 +29,7 @@ ], "activationEvents": [ "*", - "onView:mySidebar" + "onView:githruSidebar" ], "main": "./dist/extension.js", "contributes": { @@ -73,18 +73,18 @@ "viewsContainers": { "activitybar": [ { - "id": "mySidebarView", - "title": "My Sidebar", - "icon": "path/to/icon.svg" + "id": "githruSidebarView", + "title": "Githru Sidebar", + "icon": "images/logo.png" } ] }, "views": { - "mySidebarView": [ + "githruSidebarView": [ { "type": "webview", - "id": "mySidebar", - "name": "My Sidebar" + "id": "githruSidebar", + "name": "Githru Sidebar" } ] } diff --git a/packages/vscode/src/extension.ts b/packages/vscode/src/extension.ts index 9a463e0f..866e94e6 100644 --- a/packages/vscode/src/extension.ts +++ b/packages/vscode/src/extension.ts @@ -28,7 +28,7 @@ function normalizeFsPath(fsPath: string) { export async function activate(context: vscode.ExtensionContext) { const provider = new SidebarProvider(context.extensionUri); - context.subscriptions.push(vscode.window.registerWebviewViewProvider("mySidebar", provider)); + context.subscriptions.push(vscode.window.registerWebviewViewProvider("githruSidebar", provider)); const { subscriptions, extensionPath, secrets } = context; const credentials = new Credentials();