Files
sdk/pkg/analysis_server
Danny Tuppeny 792d5005f5 [analyzer] Fix NodeLocators for positions between class name and type parameter lists
There are some special cases in the NodeLocators so that the offset at the end of a name is treated as part of the name. Those special cases did not include class declaration names, which meant double-clicking a class name in VS Code and hitting Rename would fail (because VS Code sends the offset at the end of the selection).

Fixes https://github.com/Dart-Code/Dart-Code/issues/5002

Change-Id: Ib23d70581f0d8a6317ddd6ba671f6566216d5075
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/354320
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2024-02-26 20:19:50 +00:00
..

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 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.