Modify auto-completion for ReactJS

Hi,

I don't find any topic on this subject, but i'm working on React project and when I call element webstorm make this auto completion :

<Nameofcomponent/>

but i want this (with a space):

<Nameofcomponent />

Is it possible to edit that ?

Thanks :)

0
1 comment

Spaces in JSX tags are controlled by Settings | Editor | Code Style | HTML, Other/Spaces/In empty tag option. But unfortunately it works only on code reformatting, not on choosing tag from completion. Please follow https://youtrack.jetbrains.com/issue/WEB-23816 for updates

0

Please sign in to leave a comment.