Ad

Can I Customize The Code Formatting Of Dart Code In Atom?

- 1 answer

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

Ad

Answer

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:

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:

Ad
source: stackoverflow.com
Ad