mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# Yo Code - Extension and Customization Generator
|
|
|
|
[](https://dev.azure.com/ms/vscode-generator-code/_build/latest?definitionId=17)
|
|
|
|
We have written a Yeoman generator to help get you started. We plan to add templates for most extension/customization types into this.
|
|
|
|
## Install the Generator
|
|
|
|
Install Yeoman and the VS Code Extension generator:
|
|
|
|
```bash
|
|
npm install -g yo generator-code
|
|
```
|
|
|
|
## Run Yo Code
|
|
The Yeoman generator will walk you through the steps required to create your customization or extension prompting for the required information.
|
|
|
|
To launch the generator simply type:
|
|
|
|
```bash
|
|
yo code
|
|
```
|
|
|
|

|
|
|
|
## Generator Output
|
|
|
|
These templates will
|
|
* Create a base folder structure
|
|
* Template out a rough `package.json`
|
|
* Import any assets required for your extension e.g. tmBundles or the VS Code Library
|
|
* For Extensions: Set-up `launch.json` for running your extension and attaching to a process
|
|
|
|
## History
|
|
|
|
* 1.0.0: Generates a VS Code extension for TypeScript 2.0.3
|
|
* 0.10.x: Generates a VS Code extension for TypeScript 1.8.10
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE)
|