mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
22 lines
709 B
Markdown
22 lines
709 B
Markdown
# Language Configuration Sample
|
|
|
|
This is the source code for the [Language Configuration Guide](https://code.visualstudio.com/api/language-extensions/language-configuration-guide). This sample controls the following [Declarative Language Features](https://code.visualstudio.com/api/language-extensions/overview#declarative-language-support) for JavaScript:
|
|
|
|
- Comment toggling
|
|
- Brackets definition
|
|
- Autoclosing
|
|
- Autosurrounding
|
|
- Folding
|
|
- Word pattern
|
|
- Indentation Rules
|
|
|
|
## VS Code API
|
|
|
|
### Contribution Points
|
|
|
|
- [`contributes.languages`](https://code.visualstudio.com/api/references/contribution-points#contributes.languages)
|
|
|
|
## Running the Sample
|
|
|
|
- Run the `Run Extension` target in the Debug View
|