Open guillermooo opened 9 years ago
If we find dartfmt
in an sdk subdir, warn users that they should be using dart_style.
@sethladd Is dart_style going to remain as pub package meant to be installed via 'pub global'. Or is it planned to be included in the SDK?
Since you have integrated with the Analysis Server already, you could get the formatting through the server API:
Oh, wow, didn't know that... I'm falling behind! :)
Thanks!
I've just noticed that the new dartfmt's command line options are compatible with the sdk's version, though, so users that have the new one installed can already use it now. That's a good stop-gap solution until I get around to implementing the formatting through the server.
It seems to be ready for general use:
https://pub.dartlang.org/packages/dart_style