From 820ee2f8486396aa953d8ec51f3a0d6aef9c2554 Mon Sep 17 00:00:00 2001 From: Roe-xin Date: Wed, 7 Jan 2026 19:02:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=9E=E7=8E=B0=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=B3=A2=E5=BD=A2=E7=82=B9=E5=87=BB=E5=B1=95=E5=BC=80=E4=BC=9A?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AE=8C=E6=95=B4=E6=B3=A2=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/panels/ICHelperPanel.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/panels/ICHelperPanel.ts b/src/panels/ICHelperPanel.ts index 0a45b08..8d36194 100644 --- a/src/panels/ICHelperPanel.ts +++ b/src/panels/ICHelperPanel.ts @@ -175,12 +175,10 @@ export async function showICHelperPanel( vscode.window.showInformationMessage(message.text); break; case "openWaveformViewer": - // 打开波形查看器 + // 打开波形查看器 - 使用 vscode.open 触发自定义编辑器 if (message.vcdFilePath) { - VCDViewerPanel.createOrShow( - context.extensionUri, - message.vcdFilePath - ); + const vcdUri = vscode.Uri.file(message.vcdFilePath); + vscode.commands.executeCommand('vscode.open', vcdUri); } break; case "getVCDInfo":