mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
14 lines
452 B
Markdown
14 lines
452 B
Markdown
# Snippet Sample
|
|
|
|
This is the source code for [Snippet Guide](https://code.visualstudio.com/api/language-extensions/snippet-guide).
|
|
|
|
## VS Code API
|
|
|
|
### Contribution Points
|
|
|
|
- [`contributes.snippets`](https://code.visualstudio.com/api/references/contribution-points#contributes.snippets)
|
|
|
|
## Running the Sample
|
|
|
|
- Run the `Run Extension` target in the Debug View
|
|
- When you type `log` in a JavaScript file, you would see the snippet `Print to console`. |