【发布时间】:2021-04-18 15:56:16
【问题描述】:
根据this page webviews 可以“在侧边栏或面板区域呈现”。这些示例展示了如何呈现为编辑器面板...
vscode.window.createWebviewPanel(
'catCoding', // Identifies the type of the webview. Used internally
'Cat Coding', // Title of the panel displayed to the user
vscode.ViewColumn.One, // Editor column to show the new webview panel in.
{} // Webview options..
);
我正在尝试将 web 视图呈现为资源管理器下侧边栏中的附加面板。
我假设对第三个参数 vscode.ViewColumn.One 进行某种更改?
【问题讨论】:
标签: visual-studio-code view vscode-extensions