使用vscode扩展时,如何在控制面板或终端面板上打印或输出消息?扩展是由我开发的。现在只使用vscode.window.showErrorMessage来代替它。
vscode.window.showErrorMessage
const out = vscode.window.createOutputChannel("test running"); out.show(); out.appendLine('hello');