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.
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.
85Compare - yumemi_lints
Customizable linter library enforcing coding standards for Flutter and Dart apps.
79Compare - checks
A framework for checking test expectations against values and building custom expectations.
93Compare - ciach
Dead code detector for Dart and Flutter that finds and removes unused declarations.
80Compare
Works with
Packages commonly used together with analysis_server_plugin: ones it builds on, ones built on it, and its own family.
- analyzeranalysis_server_plugin depends on itPerforms static analysis of Dart code for tool integration and embedding.
- yamlanalysis_server_plugin depends on itA Dart library for parsing YAML documents into Dart data structures.
- yaml_editanalysis_server_plugin depends on itYAML manipulation library preserving comments and whitespace
- analyzer_pluginanalysis_server_plugin depends on itFramework for building plugins for the Dart analysis server
- dart_styleSame familyProvides an API and CLI to format Dart source code automatically.
- pubspec_parseSame familyParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- coverageSame familyCollects, manipulates, and formats code coverage data in Dart
- cli_configSame familyLibrary to read config from CLI args, env vars, and JSON/YAML files