Skip to content
pubscout

analysis_server_plugin

0.3.26, released 3 weeks ago by tools.dart.dev

Framework and support code for building plugins for the Dart analysis server.

$ flutter pub add analysis_server_plugin
Source repository

What it does

Allows developers to write custom Dart static analysis plugins that run in IDEs and at the command line via dart analyze and flutter analyze. Enables building custom analysis rules, IDE quick fixes, and quick assists.

AI-written summary of version 0.3.26, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to build custom static analysis rules for Dart and Flutter codebases
  • You want to provide custom IDE quick fixes and quick assists for specific code patterns

Skip it when

  • You are just looking for standard lint rules that already exist in lints or flutter_lints
  • You do not need to write custom analysis server plugins

Strengths

  • Empowers custom static analysis integration in IDEs and command line tools
  • Supports writing rules, quick fixes, and quick assists easily

Weaknesses

  • Requires maintaining custom analyzer dependencies and plugin integration
  • Not documented beyond basic guide references

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
6

not documented

Alternatives

Packages that do the same job and could replace analysis_server_plugin.

  • pedantic_mono

    Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

  • yumemi_lints

    Customizable linter library enforcing coding standards for Flutter and Dart apps.

  • checks

    A framework for checking test expectations against values and building custom expectations.

  • ciach

    Dead code detector for Dart and Flutter that finds and removes unused declarations.

Works with

Packages commonly used together with analysis_server_plugin: ones it builds on, ones built on it, and its own family.