Michel Werren Michel Werren - 1 year ago 93
Dart Question

Can I customize the Code Formatting of Dart code in Atom?

I just started to use Atom as editor for Dart and Flutter, so i am new on Atom. I googled around o find a way to customize the code formatting configuration for the dartlang plugin that will be executed with ctrl-alt-b by default.

Thanks in advance for any hints!


Answer Source

Most Dart IDE integrations (including this one) use the formatter included in the SDK. You can find some details of it in the following places:

As Gunter pointed out, the only configurable part is the line length.

There was some interesting discussion on the merits of such a tool (and how many people use it) on the dart-misc list recently:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download