VS Code Serverless Framework snippets and autocomplete
This extension contains code snippets for the Serverless Framework for Vs Code editor.
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 Serverless Framework and install it.
Snippets
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.
Core
Trigger
Content
sls-init-aws→
Initialize Serverless project
sls-function→
Serverless function
Events
Trigger
Content
- http→
adds default constructor in the class constructor() {}