Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>crossplatform-startupNew to Visual Studio Code? Get it now.
crossplatform-startup

crossplatform-startup

crossplatform

|
245 installs
| (0) | Free
abc
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-terminal-api-example

This sample provides several commands that demonstrates how to utilize the integrated terminal extension API. Access the commands through the command palette (F1).

VS Code API

vscode module

  • window.createTerminal
  • window.onDidChangeActiveTerminal
  • window.onDidCloseTerminal
  • window.onDidOpenTerminal
  • window.Terminal
  • window.terminals

Proposed API

  • window.createTerminalRenderer
  • window.TerminalRenderer

Contribution Points

  • contributes.commands

Running the Sample

  • 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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft