analysis_server_plugin 0.3.4
analysis_server_plugin: ^0.3.4 copied to clipboard
A framework and support code for building plugins for the analysis server.
0.3.4 #
- Require version
9.0.0of theanalyzerpackage.
0.3.3 #
- Require version
8.4.0of theanalyzerpackage.
0.3.2 #
- Fix support for automatic re-analysis of '*.dart' files added, both on-disk and for files added in the IDE.
0.3.1 #
- Write more of a README.
- Perform less redundant work when producing diagnostics.
0.3.0 #
- Require version
8.2.0of theanalyzerpackage. - Require Dart SDK
^3.9.0. - Add support for automatic re-analysis of files changed on-disk (as opposed to file contents changed in the IDE, which is already supported).
- Add support for analyzing and reporting diagnostics in part files.
- Add support for
RuleContext.isInLibDirandRuleContext.package. - Add support for priority files in an IDE.
- Correct the text range over which fixes are calculated.
- Breaking change: a
Pluginclass must now implementString get name.
0.2.2 #
- Require version
8.1.1of theanalyzerpackage.
0.2.1 #
- Require version
^8.1.0of theanalyzerpackage.
0.2.0 #
- Require version
^8.0.0of theanalyzerpackage. - Require Dart SDK version
^3.5.0. - Plugins can now register assists. See the documentation for details.
- With the initial release of the new
analyzer_testingpackage, there is now a framework for testing analysis rules. See the documentation for details. - Added documentation for several features:
- Require that CorrectionProducers registered as fixes have a non-
nullfixKind, and that CorrectionProducers registered as assists have a non-nullassistKind. - Various performance improvements are included.
- Breaking change: The
DartFixContext.librariesWithExtensionsmethod now accepts aNameinstead of aString, and only yields library elements that actually export an extension with a member of the given name. CorrectionProducer.errorLengthis renamedCorrectionProducer.diagnosticLength.CorrectionProducer.errorOffsetis renamedCorrectionProducer.diagnosticOffset.FixContext.erroris renamedFixContext.diagnostic.- The new minimum analyzer version contains a number of API changes that should
be noted for use in this package:
ErrorCodeis renamedDiagnosticCode.AnalysisErroris renamedDiagnostic. This class'serrorCodefield is now nameddiagnosticCode.ErrorListeneris renamedDiagnosticListener.ErrorReporteris renamedDiagnosticReporter.LintRuleis split into two classses:AnalysisRule, for rules which report exactly one code, andMultiAnalysisRule, for rules which report multiple codes. These classes are public API. Classes that used to extendLintRuleand either implemented thelintCodegetter or thelintCodesgetter now must implementdiagnosticCode(forAnalysisRule) ordiagnosticCodes(forMultiAnalysisRule).NodeLintRegistryis renamedRuleVisitorRegistry. It is now public API.- A
LintCode's severity can now be specified when in the constructor call. LinterContextis renamedRuleContext. It is now public API.LinterContextWithParsedResultsis renamedRuleContextWithParsedResults.LinterContextWithResolvedResultsis renamedRuleContextWithResolvedResults.LintRuleUnitContextis renamedRuleUnitContext. It is now public API.CorrectionProducer.inheritanceManageris deprecated, in favor of the methods found onInterfaceElement.
0.1.0-dev.1 #
- Initial release