Commit Graph

6 Commits

Author SHA1 Message Date
Sam Rawlins 9d41f28545 DAS plugins: document that a git URI can be used
Change-Id: I8bcac6d4816af2ba3b27f271cf39959371d3da2c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509544
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
2026-06-04 21:09:29 -07:00
Albert Moravec 7226a4ce87 [analysis_server] Allow analyzer plugins from hosted pub server
Added support for the `hosted` field in plugin definition,
so that analyzer plugins can be sourced from pub servers other
than pub.dev.

TEST=pkg/analysis_server/test/src/plugin2/generator_test.dart
TEST=pkg/analyzer/test/src/options/analysis_options_test.dart

Change-Id: Ie99693ab39c77b3d814843963613798f72e27f62
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/475580
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Auto-Submit: Albert Moravec <albert.moravec@gmail.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2026-02-02 14:32:37 -08:00
Sam Rawlins e2204d36d7 DAS plugins: Update various docs
Work towards https://github.com/dart-lang/sdk/issues/61876

* Make a few notes about support beginning with Dart 3.10.
* Make a few notes indicating that plugins can only analyze Dart
  sources.
* Use the handy `> [!NOTE]` and `> [!WARNING]` syntax.
* Add a note about how plugins are resolved, and the dependency on
  analysis_server_plugin ^0.3.0.

Change-Id: I6ed5b3611a0ab4ff005917b0c5cff1b6fa9d5c95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/459240
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-11-03 11:49:49 -08:00
Sam Rawlins 39c1850b44 DAS plugins: warn when plugins found in inner options file
Work towards https://github.com/dart-lang/sdk/issues/61481

Change-Id: I16d5333de6b5b195f629ec51ee582d793431f139
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450220
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-09-18 13:35:29 -07:00
Sam Rawlins 9cb7e9ea0c DAS: document enabling lint rule and suppressing
Change-Id: I26504b84c3a899c4f9f80d8a35f6c2c622c5613c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/416181
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-18 09:51:59 -07:00
Sam Rawlins b77b1f2277 DAS plugins: Add docs for writing a plugin.
Here we provide docs specifically for writing a plugin, using a plugin, and we
improve the text about writing rules.

Change-Id: I3fcfbc50609054158e5bdf964499005a79b4fba8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410160
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-02-14 17:26:01 -08:00