dart-sdk/pkg/analysis_server/lib
Konstantin Shcheglov fd2a3cdc3a Support navigation to macro-generated elements.
We use previously added `CompilationUnitElementImpl.macroGeneratedContent`
to access the current combined content.

In order to make this work with current IntelliJ plugin, without
adding new protocols, we store the generated code into a new file,
and locations for macro-generated elements are in this file.

Locations for elements that are not macro-generated are still
in the source file.

We use `ElementLocationProvider` to separate writing to the file
system, and do this only in DAS.

Change-Id: Ib156c67b0bf1f3474eb06584e76aa532abd597d1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210300
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-08-17 16:14:02 +00:00
..
lsp_protocol [analysis_server] Swap from dynamic to Object? in LSP generated code 2021-07-07 17:14:34 +00:00
plugin Add a quick fix to import extensions when members are referenced 2021-06-01 23:28:25 +00:00
protocol Remove support for the deprecated dartfix tool 2021-07-02 18:30:24 +00:00
src Support navigation to macro-generated elements. 2021-08-17 16:14:02 +00:00
starter.dart Migrate all remaining server libraries except the library in bin 2021-04-24 04:19:22 +00:00