https://github.com/alexzeitler/vs-code-snippets
My VS Code snippets
https://github.com/alexzeitler/vs-code-snippets
javascript javascript-snippets typescript typescript-snippets vscode vscode-snippets
Last synced: 4 months ago
JSON representation
My VS Code snippets
- Host: GitHub
- URL: https://github.com/alexzeitler/vs-code-snippets
- Owner: AlexZeitler
- License: mit
- Created: 2020-02-15T13:33:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T10:41:34.000Z (over 3 years ago)
- Last Synced: 2025-01-10T18:50:33.828Z (5 months ago)
- Topics: javascript, javascript-snippets, typescript, typescript-snippets, vscode, vscode-snippets
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vs-code-snippets
My VS Code snippets - mostly TypeScript, JavaScript, HTML and CSS.
## Location for your VS Code User settings / snippets
Depending on your platform, the user snippets file is located here:
- Windows `%APPDATA%\Code\User\Snippets\`
- macOS `$HOME/Library/Application Support/Code/User/snippets/`
- Linux `$HOME/.config/Code/User/snippets/`More details can be found [here](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations).
## Installation
The easiest way is to create a symbolic link using `ln` (for Linux) - **this will replace all your existing snippets** :bomb:
```bash
rm -rf $HOME/.config/Code/User/snippets # be careful, backup first!
git clone [email protected]:AlexZeitler/vs-code-snippets.git
cd vs-code-snippets
ln -s $(pwd) $HOME/.config/Code/User/snippets/
```