小编Cor*_*eZz的帖子

如何在 vscode.window.showInformationMessage 中换行

我想用来vscode.window.showInformationMessage显示一些消息。但我不能在其中换行。

我想要的是:

title:xxx
description:xxx
Run Code Online (Sandbox Code Playgroud)

我实际得到:

title:xxx description:xxx
Run Code Online (Sandbox Code Playgroud)

我的代码:

vscode.window.showInformationMessage("title:xxx\ndescription:xxx");
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

visual-studio-code

10
推荐指数
2
解决办法
1281
查看次数

标签 统计

visual-studio-code ×1