How to make react component blocks?

Hi. 
I have a problem with indentation for react components in jsx. 
Now  the components are inline



But, how can i make them blocks, each component in one line. 
Thanks.

2 comments
Comment actions Permalink

No way, JSX tags are considered 'inline' when formatting. I can only suggest adding line breaks manually, having the Keep line breaks in text enabled to preserve them on re-formatting. Related youtrack ticket: https://youtrack.jetbrains.com/issue/WEB-37966

0
Comment actions Permalink

Thanks for answer.

0

Please sign in to leave a comment.