Atom-beautify - javascript formatting


#1

Hello all,
I’ve using atom for two weeks and it’s an awesome editor. But one thing takes me crazy:
Has anyone of you an idea, who I can change this crazy linebreaking in atom using the atom-beautify package?!
One example:
http://imgur.com/bhPfeYL
I have no clue, which setting causes the weird line breaking.
All what I want is that the statements are get not split in multiple lines, but keep on one line.

Thanks for any information!


#2

Hello again,
I’ve fixed the problem by myself. Two things were responsible for this behavior:

  • I had installed another beautifier package at the same time, which formatted the code by saving the file.
  • I’ve made the following settings in the atom-beautifier package settings:
    http://imgur.com/KPr9AZB

All the best,
Dominik