This is an improved version of this gist thsnks to ngryman
I have added three new snippets creation of ES6 class
, React Class Component and React Functional Component.
- Save below XML content to a file named
custom_templates.xml
. - Note: If you want to change the file name change the file name +
group
attribute in<templateSet group="custom_templates">
element as well. - Copy the
custom_templates.xml
file to ~IntelliJ IDEA{version}/config/templates