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

Dream Code Snippets

Leonardo-Joanderson

|
139 installs
| (4) | Free
Code snippet, to increase productivity
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dream Code Snippets

Snippets info

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


Installation

In order to install an extension you need to launch the Command Palette (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 Dream Code Snippets and install it.

Supported languages (file extensions)

  • JavaScript (.js)
  • TypeScript (.ts)
  • JavaScript React (.jsx)
  • TypeScript React (.tsx)
  • Html (.html)
  • CSS (.css)

Vtex

Prefix Description
vtex.storefc New component type StoreFC for SiteEditor
vtex.storefcgql New component StoreFC with GQL query
vtex.schema Schema structure for SiteEditor

React

Prefix Description
react.fc New component of type FC with defaults Vtex
react.tscontext New context with TypeScript

CSS

Prefix Method
css.mfirst Css structure for mobile first
css.minmedia Css min-width media
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft