WebStorm provides many templates. If default templates are not suitable for us, we can modify them directly.
Version
WebStorm 2021.3
File and Code Template
Preferences -> Editor -> File and Code Template -> Files
- Select a default template to modify
Conclusion
- The most commonly used template is the HTML. We can modify them to meet our needs