analyzer_plugin 0.12.0 copy "analyzer_plugin: ^0.12.0" to clipboard
analyzer_plugin: ^0.12.0 copied to clipboard

A framework and support code for building plugins for the analysis server.

0.12.0 #

  • Breaking changes to DartFileEditBuilder: convertFunctionFromSyncToAsync and replaceTypeWithFuture.
  • Breaking changes to all classes in lib/protocol/protocol_common.dart and lib/protocol/protocol_generated.dart that implement Enum: These classes are all now proper Dart enums. Each such enum no longer has a static VALUES field, no a public constructor. Each enum value also no longer has an instance getter, name (though the EnumName extension in dart:core provides a name instance getter). The instances of each enum are also now considered exhaustive (which may trigger new diagnostics on existing switch statements and switch expressions).
  • Support version 7.x of the analyzer package.
  • Support change descriptions on SourceEdit.
  • New API in DartFileEditBuilder: getIndent, insertCaseClauseAtEnd, insertConstructor, insertField, insertGetter, insertMethod, writeIndent.
  • New API in DartEditBuilder: writeFormalParameter and writeFormalParameters.
  • New experimental API in DartEditBuilder: writeOverride2, writeReference2, writeType2, writeTypeParameter2, and writeTypeParameters2.

0.11.3 #

  • Support version 6.x of the analyzer package.

0.11.2 #

  • Support version 5.x of the analyzer package.

0.11.1 #

  • Call analyzeFiles from handleAffectedFiles only for files that are analyzed in this analysis context.

0.11.0 #

  • Using AnalysisContextCollection and AnalysisContext for analysis.

0.10.0 #

  • Support version 4.x of the analyzer package.

0.9.0 #

  • Support version 3.x of the analyzer package.

0.8.0 #

  • Require SDK 2.14 to use Object.hash().
  • Require yaml 3.1.0 to use recover.

0.7.0 #

  • Support version 2.x of the analyzer package.

0.6.0 #

  • Bug fixes to the protocol.

0.5.0 #

  • Changed the support version range of the analyzer to ^1.3.0.
  • Removed Plugin.fileContentOverlay, instead Plugin.resourceProvider is now OverlayResourceProvider, and analysis.updateContent updates it.
  • Removed deprecated DartChangeBuilder and DartChangeBuilderImpl.
  • Removed deprecated ChangeBuilder.addFileEdit().
  • Stable null safety release.
  • Updated dependencies to null safe releases.

0.4.0 #

  • Deprecated the class DartChangeBuilder and enhanced ChangeBuilder to be the replacement for it.
  • Deprecated the method ChangeBuilder.addFileEdit and introduced ChangeBuilder.addDartFileEdit and ChangeBuilder.addGenericFileEdit to be the replacements for it.
  • Changed the supported version range of the analyzer to >=0.41.0 <0.42.0.

0.3.0 #

  • Removed deprecated Plugin.getResolveResult. Use getResolvedUnitResult.

0.2.5 #

  • Change supported analyzer version to ^0.39.12

0.2.4 #

  • Exposed method AnalyzerConverter.locationFromElement (was previously private).

0.2.3 #

  • Added class Relevance.
  • Removed FixKind.name, replaced with FixKind.id. Technically this is a breaking change but we believe that in practice it is benign, since FixKind.name was only used for debugging.
  • Added function computeDartNavigation.
  • Note: never published (had problematic imports of package:analysis_server).

0.2.2 #

  • Change supported analyzer version to ^0.39.0

0.2.1 #

  • Bump maximum supported version of the analyzer to <0.39.0.
  • Bug fixes: #37916, #38326.

0.2.0 #

  • Change DartEditBuilder.writeOverride() to accept ExecutableElement instead of FunctionType.

0.1.0 #

  • Support the latest pkg:analyzer.
  • remove the declared type of generated setters

0.0.1-alpha.8 #

  • Support the latest pkg:analyzer.

0.0.1-alpha.7 #

  • Remove CompletionSuggestion.elementUri, replaced with AvailableSuggestionSet.
  • Remove 'importUri' from CompletionSuggestion.
  • Include type parameters into suggested code completions.

0.0.1-alpha.4 #

  • Upgrade the Dart SDK version constraint

0.0.1 #

  • Initial version
41
likes
140
points
2.17M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

A framework and support code for building plugins for the analysis server.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, collection, dart_style, meta, path, pub_semver, yaml

More

Packages that depend on analyzer_plugin