This project contains some basic templates to get you started with File and Code Templates in WebStorm.
- README File
- Type Module
- Function Module
- Jest Config
- Lambda Handler Module
You can read more about File and Code Templates in the WebStorm documentation .
⚠️ If you are using Visual Studio Code, you can use the Module Templates extension to achieve similar results.
- Clone this repo to your computer
- Open WebStorm
- File > Manage IDE Settings > Import Settings
- Select the
.zip
file in thetemplates
directory of this repo - Click "Ok" to import the templates
- Click "Import and restart" to restart WebStorm
- Right click in the Project panel of WebStorm like you're going to add a new file
- New > [Select the template you want to use]
- Open the newly created file(s)
- ???
- Profit
- Preferences > Editor > File and Code Templates
- File > Manage IDE Settings > Export Settings
- Uncheck all selected items
- Check "File Template" and "File Templates (Schemes)"
- Choose the location where you want to save your exported templates
- Click "Ok" to export your templates