Skip to content

Instantly share code, notes, and snippets.

@sandipchitale
Last active January 3, 2022 07:01
Show Gist options
  • Save sandipchitale/3091ae99e6d18d173bab40b3464ca9dc to your computer and use it in GitHub Desktop.
Save sandipchitale/3091ae99e6d18d173bab40b3464ca9dc to your computer and use it in GitHub Desktop.
Create output channel for extention #vscode #outputchannel
// Create
const outputChannel = vscode.window.createOutputChannel(context.extension.id.replace('sandipchitale.', ''));
// Use
outputChannel?.appendLine('-');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment