Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.71 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.71 KB

Dart Formatter Server Formatter Issues

stdio Dart formatter server using Dart Polisher over an API Protocol

For use in IDE integration.

Download

IDE Extensions

Build

Compile to native:

dart run grinder build --output=<filename>

Build notes

(optional) Protocol spec and version is defined in
./tool/protocol_spec/spec-input.html

(optional) Update protocol files and doc using spec-input.html

dart run grinder generate

(for release) Bump version (protocol, app, and dependencies)

dart run grinder bump

(optional) Get version written in the pubspec file

dart run grinder version

The resulting executable is usually used as a daemon for IDE extensions, for example the VScode Extension loads this daemon from /bin to receive edit.format requests and overlay the requested files in memory.

Analysis Server

Server based on the analysis_server (base stdio bytestream server and protocol generators where taken and adapted to serve only requests)

License

BSD-3-Clause license

Most of the code is originaly from the Dart Authors.