Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode Add extension terminal sample Aug 2, 2019
src
.gitignore Add extension terminal sample Aug 2, 2019
.vscodeignore Add extension terminal sample Aug 2, 2019
README.md Add extension terminal sample to scripts Aug 12, 2019
package-lock.json Add extension terminal sample Aug 2, 2019
package.json Add a clear command to extension terminal sample Oct 3, 2019
tsconfig.json Add extension terminal sample Aug 2, 2019
tslint.json Add extension terminal sample Aug 2, 2019

README.md

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
You can’t perform that action at this time.