emacsorphanage / dart-mode

An Emacs mode for the Dart language
GNU General Public License v3.0
15 stars 2 forks source link

Usage with flutter #50

Closed lxea closed 5 years ago

lxea commented 6 years ago

How should this mode be configured to work with flutter?

LarsDu commented 6 years ago

I hate to say this, but VSCode is really really good editor for flutter stuff. I say this even though I have a strong anti-microsoft bias.

bltavares commented 6 years ago

I was able to use the dart-sdk-path to point to Flutter's Dart SDK folder and it worked for me.

The sdk lives under <flutter-folder>/bin/cache/dart-sdk/

bradyt commented 5 years ago

There is now a flutter package for emacs, and the question is not specific otherwise. As far as I know, previous question clarified the issue. (Further, some logic was added to find the dartfmt in flutter directory if dart was not installed separately.) Closing for now. If there are specific points, then we can determine if it's something that should be added to dart-mode or requested at flutter.el.