Files
vscode-extension-samples/extension-samples-quickstart.md

18 lines
845 B
Markdown
Raw Normal View History

2018-05-03 15:44:01 -07:00
# Welcome to the extension samples
2015-11-05 17:33:07 +01:00
2018-05-03 15:44:01 -07:00
## What's here
* These folders contain sample [VS Code extensions](https://code.visualstudio.com/docs/extensions/overview) that demonstrate various extension APIs.
2015-11-05 17:33:07 +01:00
## Get up and running straight away
2018-05-03 15:30:38 -07:00
* Launch `npm install` in terminal in the root folder to initialize all samples
2015-11-05 17:33:07 +01:00
* Open the debug view and select the sample to launch
2018-05-03 15:44:01 -07:00
* set breakpoints inside a sample's `extension.ts` to debug an extension
2015-11-05 17:33:07 +01:00
* find output from your extension in the debug console
## Make changes
2018-05-03 15:44:01 -07:00
* you can relaunch a sample from the debug toolbar after changing code in `extension.ts`
2015-11-05 17:33:07 +01:00
* you can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes
## Explore the API
* you can open the full set of our API when you open the file node_modules/vscode/vscode.d.ts in each
sample