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

discontinued
outdatedDart 1 only

A shim on the analysis server following the language server protocol

0.1.4 #

  • Stop adding rootUri as an analysis root. When there are nested directories that 'look like' a package this can be very large (like with the SDK repo) and given the other tweaks to how didOpen analysis roots are handled this shouldn't be as useful anymore.

0.1.3 #

  • Add fixes to available code actions.
  • Add support for textDocument/rename.
  • Run requests for the same file serially rather than allowing them to interleave. Fixes some cases where bad overlays can stick around.
  • Add 'Organize imports' to every code actions list.
  • Never offer "Convert into block documentation comment"
  • Add dart/getServerPort extension method.
  • Strip trailing comma from completions since there is no cursor moving support.

0.1.2 #

  • Only add rootUri as an analysis root when it or a parent seems to be a package directory.
  • Add support for code actions.

0.1.1 #

  • Bug Fix: Restore analyzer wire log.
  • Set the client rootUri as an analysis root. Resolves some cases where opening a file in a subdirectory can fail to find symbols from directories higher up.
  • Bug Fix: Set priority files by path rather than URI.
  • Add ability to pass arguments to the analysis server.

0.1.0 #

  • Add support for TextDocumentSyncKind.Incremental.
  • Only send changed diagnostics.

0.0.16 #

  • Reduce memory usage by caching file line lengths instead of complete content.
  • Always reread files that the editor doesn't have open rather than cache their line lengths.
  • Bug Fix: URI decode file paths.

0.0.15 #

  • Report 'Hint' type analysis as a 'Hint' rather than 'Info' diagnostic.
  • Use package:analysis_server_lib.

0.0.14 #

  • Add element description to hover message.

0.0.13+1 #

  • Bug Fix: Report support for hover during initialization.

0.0.13 #

  • Add textDocument/hover - finds the dartdoc string for an element.

0.0.12 #

  • Include definition in list of element references.

0.0.11 #

  • Bug Fix: Conform to spec for headers - use a space after the colon.

0.0.10 #

  • Improved CompletionItemKind for completion suggestions.

0.0.9 #

  • Bug fix: Allow the process to exit when the server is done.

0.0.8 #

  • Add more information in completion item detail field. Add full doc comment to documentation field.
  • Bug fix: Avoid duplicates in reference list when the same file shows up in multiple analysis roots.
  • Only write logs when 'verbose' or 'message' trace level is used.

0.0.7 #

  • Add logging of uncaught asynchronous error logs to a hardcoded path in /tmp
  • Bug Fix: Support forwarding diagnostics for files that haven't already been opened in the editor
  • Add support for textDocument/references call.

0.0.6 #

  • Fix a bug for clients which do not send a trace parameter to initialize call

0.0.5 #

  • Fix an error with sdk 1.22 where lineMode cannot be set on stdin when it is a pipe
  • Separate logs by client. Log names are prefixed with client's directory and pid
  • Fix a buf causing a stack trace when attempting to jump to a token with no definition
  • Ignore updates to old file versions

0.0.4 #

  • Add the initialize method for better spec compliance

0.0.3 #

  • Add support for GoToDefinition

0.0.2 #

  • Add (almost entirely untested) support for completion suggestions.
  • Correct Range translation for diagnostics which span lines.

0.0.1 #

  • Initial experimental version. Starts up the sdk analysis server and forwards file state messages and errors. Can be used to show file diagnostics in an editor.
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

analysis_server_lib, args, async, json_rpc_2, logging, meta, path, pool, stream_channel, stream_transform

More

Packages that depend on dart_language_server