c7ea359627
ML completion will start at the cursor token and walk backwards along the token linked list until it's read some n tokens or finds an EOF character. In some cases, there are null tokens which we should treat as terminal when constructing model queries as well. Bug: https://github.com/dart-lang/sdk/issues/37878 Change-Id: Id840d519f5cf1093a63881ee6cd41cde61dbc0fa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113285 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Dan Rubel <danrubel@google.com> Commit-Queue: Ari Aye <ariaye@google.com>
analysis_server
A long-running process that provides analysis results to other tools.
The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.
Using the server
The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.
Clients (typically tools, such as an editor) are expected to run the analysis
server in a separate process and communicate with it using a JSON protocol. The
original protocol is specified in the file analysis_server/doc/api.html
and (less complete) Language Server Protocol support is documented
in tool/lsp_spec/README.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.