Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-terminal-api-exampleNew to Visual Studio Code? Get it now.
vscode-terminal-api-example

vscode-terminal-api-example

jjindal

|
154 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 repo has been merged into Microsoft/vscode-extension-samples and is now deprecated ⚠️

This repo demonstrates how to utilize the integrated terminal extension API coming in Visual Studio Code v1.5.0.

Several commands are exposed prefixed with "Terminal API" that show how to use the API:

  • Terminal API: Create Terminal: Create a terminal
  • Terminal API: Hide: Hides the most recently created terminal
  • Terminal API: Show: Shows the most recently created terminal
  • Terminal API: Send Text: Sends echo "Hello World!" to the terminal
  • Terminal API: Send Text (no implied \n): Sends echo "Hello World!" to the terminal explicitly indicating to not add a \n to the end of the text
  • Terminal API: Dispose: Disposes the most recently created terminal
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft