
Why is this refactoring helpful?
Expanding a self-closing JSX element is a preparation step to add text or child elements to a JSX element.
Configuration
- Code Assist ID (for the configuration file):
expand-self-closing-jsx-element
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.toggle.collapse-expand.jsx-element.p42.expand-self-closing-jsx-element