An Emacs mode for the Dart language
Emacs Lisp
Latest commit b380818 Jan 28, 2017 @faried faried committed with Adapt the gofmt-related code in go-mode.el for dartfmt. (#39)
This is pretty much a copy of the gofmt-related functions,
with gofmt changed to dartfmt and a regex for compilation-mode.

README.md

Dart Mode

Dart Mode is a major mode for editing Dart files in Emacs.

Installation

  1. Add Marmalade to your package-archives if you don't already have it.

  2. Install dart-mode via:

    M-x package-refresh-contents [RET]
    M-x package-install [RET] dart-mode
    
  3. OPTIONAL: To enable on-the-fly syntax checking, add the following to your .emacs file:

    (setq dart-enable-analysis-server t)
    (add-hook 'dart-mode-hook 'flycheck-mode)