stdio
Dart formatter server using Dart Polisher over an API Protocol
For use in IDE integration.
- From Releases
Compile to native:
dart run grinder build --output=<filename>
(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.
Server based on the analysis_server (base stdio bytestream server and protocol generators where taken and adapted to serve only requests)
BSD-3-Clause license
Most of the code is originaly from the Dart Authors.