Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradgarropy/vscode-snippets
✂️ vscode snippet library
https://github.com/bradgarropy/vscode-snippets
extension javascript jest markdown python react serverless snippets styled-components vscode
Last synced: 2 days ago
JSON representation
✂️ vscode snippet library
- Host: GitHub
- URL: https://github.com/bradgarropy/vscode-snippets
- Owner: bradgarropy
- License: mit
- Created: 2019-09-03T04:20:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T04:39:41.000Z (about 2 years ago)
- Last Synced: 2024-10-13T04:39:28.852Z (about 1 month ago)
- Topics: extension, javascript, jest, markdown, python, react, serverless, snippets, styled-components, vscode
- Homepage: https://marketplace.visualstudio.com/items?itemName=bradgarropy.bg-snippets
- Size: 3.98 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
[![version][version-badge]][marketplace]
[![downloads][downloads-badge]][marketplace]
[![discord][discord-badge]][discord]✂️ _[Visual Studio Code][vscode] snippet library for [JavaScript][javascript], [TypeScript][typescript], [Markdown][markdown], and [Python][python]._
### ☕️ JavaScript / 🔵 TypeScript
| Prefix | Description |
| ------ | --------------------------- |
| `log` | Logs output to the console. |
| `imp` | Import statement. |
| `nimp` | Named import statement. |
| `af` | Arrow function. |
| `aaf` | Anonymous arrow function. |### ⚡️ Serverless
| Prefix | Description |
| ------ | ---------------------------- |
| `sf` | Netlify serverless function. |### 🃏 Jest
| Prefix | Description |
| ------ | ---------------- |
| `jd` | Jest describe. |
| `jt` | Jest test. |
| `je` | Jest expect. |
| `jba` | Jest beforeAll. |
| `jaa` | Jest afterAll. |
| `jbe` | Jest beforeEach. |
| `jae` | Jest afterEach. |### ⚛️ React
| Prefix | Description |
| ------ | ----------------------- |
| `rc` | React component. |
| `us` | Use state hook. |
| `ue` | Use effect hook. |
| `ule` | Use layout effect hook. |
| `uc` | Use context hook. |### 💿 Remix
| Prefix | Description |
| ------- | ---------------------- |
| `rmxlk` | Remix links function. |
| `rmxm` | Remix meta function. |
| `rmxld` | Remix loader function. |
| `rmxa` | Remix action function. |
| `rmxcb` | Remix catch boundary. |
| `rmxeb` | Remix error boundary. |
| `rmxr` | Remix route. |### 💅🏼 Styled Components
| Prefix | Description |
| ------ | ----------------- |
| `sc` | Styled component. |### 🔻 Markdown
| Prefix | Description |
| --------- | --------------------- |
| `ml` | Reference style link. |
| `mlr` | Link reference. |
| `mli` | Inline style link. |
| `mimg` | Image. |
| `mb` | Bold text. |
| `mi` | Italic text. |
| `mbq` | Blockquote. |
| `mh` | First level header. |
| `mhh` | Second level header. |
| `mhhh` | Third level header. |
| `mhhhh` | Fourth level header. |
| `mhhhhh` | Fifth level header. |
| `mhhhhhh` | Sixth level header. |
| `mc` | Inline code. |
| `mcb` | Block of code. |### 🐍 Python
| Prefix | Description |
| ------ | -------------------------------------- |
| `log` | Logs an info message to the console. |
| `logi` | Logs an info message to the console. |
| `logw` | Logs a warning message to the console. |
| `loge` | Logs an error message to the console. |
| `def` | Method definition with docstring. |[vscode]: https://code.visualstudio.com
[version-badge]: https://img.shields.io/visual-studio-marketplace/v/bradgarropy.bg-snippets?style=flat-square
[downloads-badge]: https://img.shields.io/visual-studio-marketplace/i/bradgarropy.bg-snippets?style=flat-square
[discord-badge]: https://img.shields.io/discord/748196643140010015?style=flat-square
[marketplace]: https://marketplace.visualstudio.com/items?itemName=bradgarropy.bg-snippets
[discord]: https://bradgarropy.com/discord
[javascript]: https://javascript.com
[typescript]: https://typescriptlang.org
[markdown]: https://markdownguide.org
[python]: https://python.org