analyzer_plugin_fork 0.2.2

  • Readme
  • Changelog
  • Installing
  • 76

analyzer_plugin_fork #

Fork of the analyzer_plugin package that supports analyzer 0.39.0.

0.2.2 #

  • Support analyzer 0.39.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  analyzer_plugin_fork: ^0.2.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:analyzer_plugin_fork/channel/channel.dart';
import 'package:analyzer_plugin_fork/plugin/assist_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/completion_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/fix_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/folding_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/highlights_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/kythe_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/navigation_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/occurrences_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/outline_mixin.dart';
import 'package:analyzer_plugin_fork/plugin/plugin.dart';
import 'package:analyzer_plugin_fork/protocol/protocol.dart';
import 'package:analyzer_plugin_fork/protocol/protocol_common.dart';
import 'package:analyzer_plugin_fork/protocol/protocol_constants.dart';
import 'package:analyzer_plugin_fork/protocol/protocol_generated.dart';
import 'package:analyzer_plugin_fork/starter.dart';
import 'package:analyzer_plugin_fork/utilities/analyzer_converter.dart';
import 'package:analyzer_plugin_fork/utilities/assist/assist.dart';
import 'package:analyzer_plugin_fork/utilities/assist/assist_contributor_mixin.dart';
import 'package:analyzer_plugin_fork/utilities/change_builder/change_builder_core.dart';
import 'package:analyzer_plugin_fork/utilities/change_builder/change_builder_dart.dart';
import 'package:analyzer_plugin_fork/utilities/change_builder/change_workspace.dart';
import 'package:analyzer_plugin_fork/utilities/completion/completion_core.dart';
import 'package:analyzer_plugin_fork/utilities/completion/inherited_reference_contributor.dart';
import 'package:analyzer_plugin_fork/utilities/completion/relevance.dart';
import 'package:analyzer_plugin_fork/utilities/completion/suggestion_builder.dart';
import 'package:analyzer_plugin_fork/utilities/completion/type_member_contributor.dart';
import 'package:analyzer_plugin_fork/utilities/fixes/fix_contributor_mixin.dart';
import 'package:analyzer_plugin_fork/utilities/fixes/fixes.dart';
import 'package:analyzer_plugin_fork/utilities/folding/folding.dart';
import 'package:analyzer_plugin_fork/utilities/generator.dart';
import 'package:analyzer_plugin_fork/utilities/highlights/highlights.dart';
import 'package:analyzer_plugin_fork/utilities/kythe/entries.dart';
import 'package:analyzer_plugin_fork/utilities/navigation/navigation.dart';
import 'package:analyzer_plugin_fork/utilities/occurrences/occurrences.dart';
import 'package:analyzer_plugin_fork/utilities/outline/outline.dart';
import 'package:analyzer_plugin_fork/utilities/pair.dart';
import 'package:analyzer_plugin_fork/utilities/range_factory.dart';
import 'package:analyzer_plugin_fork/utilities/subscriptions/subscription_manager.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
71
Health:
Code health derived from static analysis. [more]
75
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

We analyzed this package on Feb 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/plugin/plugin.dart. (-25 points)

Analysis of lib/plugin/plugin.dart reported 106 hints, including:

line 28 col 1: Prefer using /// for doc comments.

line 36 col 3: Prefer using /// for doc comments.

line 41 col 3: Prefer using /// for doc comments.

line 47 col 3: Prefer using /// for doc comments.

line 52 col 3: Prefer using /// for doc comments.

Fix lib/protocol/protocol_common.dart. (-25 points)

Analysis of lib/protocol/protocol_common.dart reported 588 hints, including:

line 15 col 1: Prefer using /// for doc comments.

line 28 col 3: Prefer using /// for doc comments.

line 33 col 3: Prefer using /// for doc comments.

line 61 col 14: Unnecessary new keyword.

line 95 col 1: Prefer using /// for doc comments.

Fix lib/protocol/protocol_generated.dart. (-25 points)

Analysis of lib/protocol/protocol_generated.dart reported 494 hints, including:

line 16 col 1: Prefer using /// for doc comments.

line 31 col 3: Prefer using /// for doc comments.

line 36 col 3: Prefer using /// for doc comments.

line 44 col 3: Prefer using /// for doc comments.

line 49 col 3: Prefer using /// for doc comments.

Fix additional 55 files with analysis or formatting issues. (-400.58 points)

Additional issues in the following files:

  • lib/src/utilities/change_builder/change_builder_dart.dart (73 hints)
  • lib/protocol/protocol.dart (53 hints)
  • lib/src/utilities/change_builder/change_builder_core.dart (52 hints)
  • lib/src/protocol/protocol_internal.dart (51 hints)
  • lib/utilities/change_builder/change_builder_dart.dart (43 hints)
  • lib/src/channel/isolate_channel.dart (36 hints)
  • lib/src/utilities/completion/optype.dart (34 hints)
  • lib/src/utilities/completion/completion_target.dart (33 hints)
  • lib/utilities/range_factory.dart (30 hints)
  • lib/utilities/completion/type_member_contributor.dart (28 hints)
  • lib/utilities/fixes/fixes.dart (27 hints)
  • lib/utilities/change_builder/change_builder_core.dart (25 hints)
  • lib/utilities/navigation/navigation.dart (25 hints)
  • lib/utilities/analyzer_converter.dart (24 hints)
  • lib/utilities/assist/assist.dart (24 hints)
  • lib/utilities/completion/completion_core.dart (24 hints)
  • lib/utilities/folding/folding.dart (18 hints)
  • lib/utilities/highlights/highlights.dart (18 hints)
  • lib/utilities/outline/outline.dart (18 hints)
  • lib/utilities/kythe/entries.dart (17 hints)
  • lib/utilities/occurrences/occurrences.dart (17 hints)
  • lib/src/utilities/completion/completion_core.dart (14 hints)
  • lib/src/utilities/completion/element_suggestion_builder.dart (14 hints)
  • lib/src/utilities/completion/suggestion_builder.dart (12 hints)
  • lib/channel/channel.dart (10 hints)
  • lib/src/utilities/navigation/navigation.dart (10 hints)
  • lib/utilities/completion/inherited_reference_contributor.dart (10 hints)
  • lib/src/utilities/visitors/local_declaration_visitor.dart (8 hints)
  • lib/plugin/navigation_mixin.dart (7 hints)
  • lib/src/utilities/fixes/fixes.dart (7 hints)
  • lib/src/utilities/occurrences/occurrences.dart (7 hints)
  • lib/src/utilities/folding/folding.dart (6 hints)
  • lib/src/utilities/highlights/highlights.dart (6 hints)
  • lib/src/utilities/outline/outline.dart (6 hints)
  • lib/utilities/fixes/fix_contributor_mixin.dart (6 hints)
  • lib/utilities/subscriptions/subscription_manager.dart (6 hints)
  • lib/plugin/assist_mixin.dart (5 hints)
  • lib/plugin/completion_mixin.dart (5 hints)
  • lib/src/utilities/kythe/entries.dart (5 hints)
  • lib/src/utilities/string_utilities.dart (5 hints)
  • lib/utilities/generator.dart (5 hints)
  • lib/plugin/fix_mixin.dart (4 hints)
  • lib/plugin/folding_mixin.dart (4 hints)
  • lib/plugin/highlights_mixin.dart (4 hints)
  • lib/plugin/kythe_mixin.dart (4 hints)
  • lib/plugin/occurrences_mixin.dart (4 hints)
  • lib/plugin/outline_mixin.dart (4 hints)
  • lib/src/driver.dart (4 hints)
  • lib/src/utilities/assist/assist.dart (4 hints)
  • lib/src/utilities/documentation.dart (4 hints)
  • lib/starter.dart (4 hints)
  • lib/utilities/assist/assist_contributor_mixin.dart (4 hints)
  • lib/utilities/completion/suggestion_builder.dart (4 hints)
  • lib/src/utilities/null_string_sink.dart (1 hint)
  • lib/utilities/pair.dart (1 hint)

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and analyzer_plugin_fork.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
analyzer ^0.39.0 0.39.4
charcode ^1.1.0 1.1.3
dart_style ^1.2.0 1.3.3
html >=0.13.1 <0.15.0 0.14.0+3
meta ^1.0.2 1.1.8
path ^1.4.1 1.6.4
pub_semver ^1.3.2 1.4.3
Transitive dependencies
_fe_analyzer_shared 1.0.3
args 1.5.2
async 2.4.0
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
glob 1.2.0
js 0.6.1+1
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.9.1
pedantic 1.9.0
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
yaml 2.2.0