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

@ -107,7 +107,8 @@ export class VCDViewerPanel {
* 创建或显示 VCD 查看器面板
*/
public static createOrShow(extensionUri: vscode.Uri, vcdFilePath?: string, vcdFileServer?: VCDFileServer) {
const column = vscode.ViewColumn.One;
// 在当前活动编辑器旁边打开新列
const column = vscode.ViewColumn.Beside;
// 如果已经有面板打开,则显示它
if (VCDViewerPanel.currentPanel) {