2019-08-02 14:56:52 -07:00
# extension-terminal-sample
2022-04-14 06:04:01 -04:00
This extension shows how to leverage the extension terminal API stabilized in v1.39 that enables an extension to handle a terminal's input and emit output.
2019-08-02 14:56:52 -07:00
## VS Code API
### `vscode` module
- [window.createTerminal ](https://code.visualstudio.com/api/references/vscode-api#window.createTerminal )
### Contribution Points
- [`contributes.commands` ](https://code.visualstudio.com/api/references/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