feat:预览波形展开新开窗口展示完整波形

This commit is contained in:
Roe-xin
2026-01-09 19:06:34 +08:00
parent f9b3699bda
commit 6abec8c7b7
5 changed files with 396 additions and 7 deletions

View File

@ -247,10 +247,9 @@ export async function showICHelperPanel(
vscode.window.showInformationMessage(message.text);
break;
case "openWaveformViewer":
// 打开波形查看器 - 使用 vscode.open 触发自定义编辑器
// 在新列中打开波形查看器
if (message.vcdFilePath) {
const vcdUri = vscode.Uri.file(message.vcdFilePath);
vscode.commands.executeCommand('vscode.open', vcdUri);
vscode.commands.executeCommand('ic-coder.openVCDViewer', message.vcdFilePath);
}
break;
case "getVCDInfo":