我正在发布一个 vscode 扩展,并显示一个简单的标题和消息。消息和项目按预期显示,但我找不到添加带有文本的标题的方法。我怎样才能做到这一点?我应该使用不同的消息方法吗?当前代码:
const header = { title: 'Confirmation Needed' };
return vscode.window.showInformationMessage(text, ...["Ok", "Cancel"]);
Run Code Online (Sandbox Code Playgroud)