How to change the tag’s setting by atom-beautify in Atom?

By 徐博俊

I install atom-beautify for my javascript file , when i type CTRL + ALT + B, it format my code well , but i find that tag effect is not i want.

It looks like :

  render() {
    return ( <
      View style = {
        styles.container
      } >
      <
      Ball / >
      <
      /View>
    );
  }
}

I want it change like this:

  render() {
    return (
      <View style = {
        styles.container
      } >
        <Ball / >
      </View>
    );
  }
}

Is there any setting can let it be done ? Thanks in advance.

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273