mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
vscode-terminal-api-example
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 terminalTerminal API: Create Terminal and Immediately Send: Create a terminal and immediately send textTerminal API: Hide: Hides the most recently created terminalTerminal API: Show: Shows the most recently created terminalTerminal API: Send Text: Sendsecho "Hello World!"to the terminalTerminal API: Send Text (no implied \n): Sendsecho "Hello World!"to the terminal explicitly indicating to not add a\nto the end of the textTerminal API: Dispose: Disposes the most recently created terminal