Does a VS code have a core command to write to the Output section?
For instance, there are the commands cursorLeftSelect, editor.action.clipboardCutAction, cursorRight, editor.action.clipboardPasteAction, and, of course, the type command to type. Is there a command to write to output?
>Solution :
Yes, look at the window.createOutputChannel("find-and-transform"); command. You can put anything you want where the find-and-transform appears above.
yourOutputChannel.appendLine(`\n${ jsOPError.stack }\n`);
yourOutputChannel.show(false); // the false here will focus the output panel and this outputChannel within it