JSX Code Style

I want to wrap every attribute in jsx, like this:

However, when I set the wrap attributes in HTML code style, it's formatting like this: 

 

Can I somehow make webstorm format every attribute on a new line?

1 comment
Comment actions Permalink

Try setting New line before first attribute: to When multiline (and Wrap attributes: to Wrap always) in Settings | Editor | Code Style | HTML | Other 

0

Please sign in to leave a comment.