analysis_server_client 1.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

Analysis Server Client

A client wrapper over Analysis Server. Instances of this client manages connection to Analysis Server and process and faciliates JSON protocol communication to and from the server.

Current implementation has no knowledge of the Analysis Server library yet. Future updates will allow for full class-access of Analysis Server protocol objects.

Analysis Server process must be instantiated separately and loaded into Analysis Server Client. To learn how to generate an Analysis Server Process, refer to the Analysis Server page.

#1.0.1

  • Update path on homepage

#1.0.0

  • Initial version

1. Depend on it

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


dependencies:
  analysis_server_client: "^1.0.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:analysis_server_client/analysis_server_client.dart';
        
Version Uploaded Documentation Archive
1.0.1 Aug 8, 2017 Go to the documentation of analysis_server_client 1.0.1 Download analysis_server_client 1.0.1 archive
1.0.0 Aug 8, 2017 Go to the documentation of analysis_server_client 1.0.0 Download analysis_server_client 1.0.0 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
49
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

Primary library: package:analysis_server_client/analysis_server_client.dart with components: io.

Suggestions

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use analysis_server_client.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 hints.

    Strong-mode analysis of lib/analysis_server_client.dart gave the following hint:

    line: 45 col: 22
    'JSON' is deprecated and shouldn't be used.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 < 2.0.0-dev.infinity
Dev dependencies
mockito ^2.0.2
test >=0.12.0 <0.13.0