visual-studio-code - vscode扩展运行时如何在控制面板打印消息
问题描述
使用 vscode 扩展时,如何在控制面板或终端面板打印或输出消息?该扩展是我开发的。现在只能vscode.window.showErrorMessage
用来替换它。
解决方案
const out = vscode.window.createOutputChannel("test running");
out.show();
out.appendLine('hello');
推荐阅读
- c - 在 c 程序中将默认的实类型设置为 16 字节
- c - 我的求和差函数解决方案不起作用
- python - 从特定行开始迭代数据框
- continuous-integration - 在每个 terraform 部署中更改图像标签
- c# - 如何绑定用户控件子项的属性
- javascript - 带对话框的 Javascript 构造函数
- php - 使用php降序
- scala - 查找不同行中两个时间戳之间的持续时间
- nginx - 带有别名的 nginx try_files 不起作用,但 rewrite 可以
- react-native - 是否可以导入我的照片以响应本机应用程序并将它们分享到 instagram