Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>bg-snippetsNew to Visual Studio Code? Get it now.

bg-snippets

Brad Garropy

|
927 installs
| (1) | Free
✂️ vscode snippet library
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

version downloads discord

✂️ Visual Studio Code snippet library for JavaScript, TypeScript, Markdown, and 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.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft