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
- Host: GitHub
- URL: https://github.com/sameeramin/vscode-snippets
- Owner: sameeramin
- License: mit
- Created: 2023-06-01T09:54:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-04T12:01:56.000Z (almost 3 years ago)
- Last Synced: 2025-01-12T19:45:17.759Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.