-- Divine Nature (https://www.github.com/dnature)
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.
- JavaScript (.js)
- Nodejs
the snippets are included only to this extension and if you want to use them you have to install it explicitly.
When installing the extension React development could be really fun
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB
key.
Trigger | Content |
---|---|
!exp→ |
Creates ES6+ express snippet and can start server on port 5000 |
!expr→ |
Require express with router. |
!rget→ |
Router get method |
!rpost→ |
Router post method. |
!rdel→ |
Router delete method. |
!exportr→ |
Exports Router Method |
await→ |
Using asyn await function |