An open API service indexing awesome lists of open source software.

https://github.com/sameeramin/vscode-snippets

A collection VS Code snippets
https://github.com/sameeramin/vscode-snippets

Last synced: 3 months ago
JSON representation

A collection VS Code snippets

Awesome Lists containing this project

README

          

# VS Code Snippets
VS Code Snippets is a collection of code snippets for Moodle, React and JavaScript. It is a work in progress and will be updated as I continue to learn and develop.

## Installation
1. Clone the repo
```sh
git clone https://github.com/sameeramin/vscode-snippets.git
```

2. Copy the files to the following locations:
- PHP snippets: `~/.config/Code/User/snippets/php.json`
- React snippets: `~/.config/Code/User/snippets/javascriptreact.json`
- JavaScript snippets: `~/.config/Code/User/snippets/javascript.json`

## Usage
Type the snippet name and press `Tab` to insert the snippet. For example, type `dump` and press `Tab` to insert the `var_dump` boilerplate snippet.

## Contributing
Pull requests are welcome. For changes, please open an issue first to discuss what you would like to change.

## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for more information.