This is a starter kit for creating a new extension for Visual Studio Code. It includes a basic structure and configuration to start developing a new extension.
- Basic configuration for the development environment
.editorconfig
- Editor configuration.eslintignore
- ESLint ignore file.eslintrc.json
- ESLint configuration file.linstagedrc
- Lint-staged configuration file.nvmrc
- Node version manager configuration file.prettierrc
- Prettier configuration filecommitlint.config.js
- Commit lint configuration filepackage.json
- Package configuration for the extensiontsconfig.json
- TypeScript configuration for the extension
- Basic structure for a new extension
app
- Source code for the extensionconfig
- Configuration files for the extensioncontrollers
- Controllers for the extensionhelpers
- Helper functions for the extensionmodels
- Models for the extensionproviders
- Providers for the extensionservices
- Services for the extension
test
- Test files for the extension
- JSON Schema validations for workspace settings
settings.schema.json
- JSON schema for the workspace settings
- Helper functions to get started with the extension
command.helper.ts
- Helper functions to create a new commanddata.helper.ts
- Helper functions to create a new data providerdialog.helper.ts
- Helper functions to create a new dialogfilesystem.helper.ts
- Helper functions to create a new file system providerinflection.helper.ts
- Helper functions to create a new inflection providernumber.helper.ts
- Helper functions to create a new number providersecurity.helper.ts
- Helper functions to create a new security providertext.helper.ts
- Helper functions to create a new text provider
- Basic commands to get started with the extension
extension.ts
- Main file for the extensioncommands
- Commands for the extensionexample.controller.ts
- Example controller for the extension
providers
- Providers for the extensionfeedback.provider.ts
- Feedback provider for the extension
You need to have node and npm installed on your system to run the examples. It is recommended to use the node version used for VS Code development itself which is documented here
- Clone or Download this repository
- Unzip the archive if needed
- Rename the folder if needed
- Add the project folder to the editor
npm install
in the terminal, thenF5
to run the sample
For more information, see the official documentation
To run the documentation, execute the following command in the terminal:
npm run compodoc
This will generate the documentation in the compodoc
folder.
For more information, see the official documentation
To build the extension, execute the following command in the terminal:
vsce package
This will create a .vsix
file in the root of the project.
For more information, see the official documentation
To publish the extension, execute the following command in the terminal:
vsce publish
This will open a new instance of Visual Studio Code with the extension running in debug mode.
For more information, see the official documentation
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Please read CODE_OF_CONDUCT.md for details on our code of conduct.
See CHANGELOG.md
- Manuel Gil - Owner - ManuelGil
See also the list of contributors who participated in this project.
Extension Starter Kit for VSCode is licensed under the MIT License - see the MIT License for details.