This sample provides several commands that demonstrates how to utilize the integrated terminal extension API. Access the commands through the command palette (F1).
- window.createTerminal
- window.onDidChangeActiveTerminal
- window.onDidCloseTerminal
- window.onDidOpenTerminal
- window.Terminal
- window.terminals
window.createTerminalRenderer
window.TerminalRenderer
- Run
npm install
in terminal to install dependencies - Run the
Run Extension
target in the Debug View. This will:- Start a task
npm: watch
to compile the code - Run the extension in a new VS Code window
- Start a task