dart_language_server 0.0.6 copy "dart_language_server: ^0.0.6" to clipboard
dart_language_server: ^0.0.6 copied to clipboard

discontinued
outdatedDart 1 only

A shim on the analysis server following the language server protocol

Dart Language Server #

Wraps the dart analysis server and adapts it to the language server protocol.

This is a very early and very experimental project to test the feasibility of integrating the dart analysis server with an editor following a different api than it's default.

Dart Language Server #

The executable dart_language_server implements a partial adapter of the analysis server following the language server protocol.

Features #

Support is working or planned for:

  • Initialize/Configuration calls (initialize, capabilities, etc)
  • File tracking (open, change)
  • Diagnostic notifications
  • Completion suggestions
  • Jump to definition

Support for further language server features is not planned.

Installing #

pub global activate dart_language_server

If you have the pub bin directory in your path (you should be warned during the previous command if not) the server can be run as dart_language_server.

A note on compatibility #

Development is done based on the protocol spec but not against a reference editor plugin - there are likely to be protocol bugs.

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A shim on the analysis server following the language server protocol

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

async, json_rpc_2, logging, path, stream_channel

More

Packages that depend on dart_language_server