Files
vscode-extension-samples/extension-terminal-sample
2022-04-13 15:49:42 -07:00
..
2020-05-29 14:20:07 -07:00
2020-05-29 14:01:37 -07:00
2020-05-29 14:13:32 -07:00
2019-08-02 14:57:15 -07:00
2019-08-02 14:57:15 -07:00
2022-04-13 15:49:42 -07:00
2022-04-13 15:49:42 -07:00
2022-02-28 13:45:21 -08:00

extension-terminal-sample

This extension shows how to leverage the extension terminal API proposed in v1.37 that enables an extension to handle a terminal's input and emit output.

VS Code API

vscode module

Proposed API

  • window.Pseudoterminal
  • window.ExtensionTerminalOptions

Contribution Points

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