Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>G4BR13L JS SnippetsNew to Visual Studio Code? Get it now.
G4BR13L JS Snippets

G4BR13L JS Snippets

GabrielCastello

|
665 installs
| (1) | Free
My personal JS snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

G4BR13L VS Code JavaScript (ES6) snippets

Version Installs Ratings

This extension contains code snippets for JavaScript in ES6 syntax for [Vs Code][code] editor (supports both JavaScript and TypeScript).

Installation

In order to install an extension you need to launch the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions. There you have either the option to show the already installed snippets or install new ones. Search for "G4BR13L JS Snippets" and install it.

Supported languages (file extensions)

  • JavaScript (.js)
  • TypeScript (.ts)
  • JavaScript React (.jsx)
  • TypeScript React (.tsx)
  • Html (.html)
  • Vue (.vue)

Snippets

Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.

Import and export

Trigger Content
req→ require package to const const packageName = require('packageName');

Class helpers

Trigger Content
cla-> adds class with constructor and module.exports `

Another cool snippet that i used as reference: xabikos/vscode-javascript

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft