feat:实现预览波形点击展开会显示完整波形

This commit is contained in:
Roe-xin
2026-01-07 19:02:00 +08:00
parent be8365c8cb
commit 820ee2f848

View File

@ -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":