Hubspot React File BoilerPlate
A VS Code extension that helps you quickly add boilerplate code for HubSpot React files including component and fields boilerplate.
Features
- Manually insert a React component boilerplate with
Ctrl+Alt+H.
- Automatically insert boilerplate when
index.jsx or fields.jsx files are created.
- Quick setup for HubSpot module development.
Usage
- Use the command palette (
Ctrl+Shift+P) and select "Insert HubSpot React Boilerplate" or press Ctrl+Alt+H or type hsindex.
- To insert fields boilerplate, press
Ctrl+Alt+F or trigger via command palette or type hsfields.
index.jsx

fields.jsx

Installation
Search for "Hubspot React File BoilerPlate" in the VS Code Extensions marketplace and install it.
Author
Jaimin Panchal.
React Docs
| |