Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Issue 1467023002: step toward new completion API (Closed)

Created:
5 years, 1 month ago by danrubel
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

step toward new completion API - separate new CompletionContributor and DartCompletionContributor APIs - revise new APIs and implementations to be Futures based - revise InheritedContributor to use new Futures based contributor API - remove unused classes R=brianwilkerson@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/38cec67d032ef0fb6dff662fa4e5dcd3863db062

Patch Set 1 #

Total comments: 32

Patch Set 2 : address comments and merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -404 lines) Patch
M pkg/analysis_server/lib/src/provisional/completion/completion_core.dart View 1 3 chunks +13 lines, -4 lines 0 comments Download
M pkg/analysis_server/lib/src/provisional/completion/completion_dart.dart View 1 2 chunks +16 lines, -56 lines 0 comments Download
M pkg/analysis_server/lib/src/services/completion/completion_dart.dart View 1 2 chunks +74 lines, -15 lines 0 comments Download
A pkg/analysis_server/lib/src/services/completion/dart/inherited_contributor.dart View 1 1 chunk +175 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart View 3 chunks +0 lines, -84 lines 0 comments Download
D pkg/analysis_server/lib/src/services/completion/inherited_contributor.dart View 1 chunk +0 lines, -160 lines 0 comments Download
A pkg/analysis_server/test/services/completion/dart/dart_completion_contributor_test.dart View 1 1 chunk +220 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/services/completion/dart/inherited_contributor_test.dart View 1 1 chunk +122 lines, -0 lines 0 comments Download
A + pkg/analysis_server/test/services/completion/dart/test_all.dart View 1 1 chunk +6 lines, -8 lines 0 comments Download
D pkg/analysis_server/test/services/completion/inherited_computer_test.dart View 1 chunk +0 lines, -75 lines 0 comments Download
M pkg/analysis_server/test/services/completion/test_all.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
danrubel
Per discussion, this is a step towards Futures based APIs. In a subsequent CL I'll ...
5 years, 1 month ago (2015-11-22 02:29:21 UTC) #2
scheglov
LGTM https://codereview.chromium.org/1467023002/diff/1/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart File pkg/analysis_server/lib/src/provisional/completion/completion_core.dart (right): https://codereview.chromium.org/1467023002/diff/1/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart#newcode50 pkg/analysis_server/lib/src/provisional/completion/completion_core.dart:50: * Compute [suggestions] for the given completion [request]. ...
5 years, 1 month ago (2015-11-22 05:19:02 UTC) #3
Brian Wilkerson
LGTM after comments are addressed https://codereview.chromium.org/1467023002/diff/1/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart File pkg/analysis_server/lib/src/provisional/completion/completion_core.dart (right): https://codereview.chromium.org/1467023002/diff/1/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart#newcode50 pkg/analysis_server/lib/src/provisional/completion/completion_core.dart:50: * Compute [suggestions] for ...
5 years, 1 month ago (2015-11-22 18:02:47 UTC) #4
danrubel
Comments addressed and per discussion I have commented out usage of DartChangeBuilder. https://codereview.chromium.org/1467023002/diff/1/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart File pkg/analysis_server/lib/src/provisional/completion/completion_core.dart ...
5 years, 1 month ago (2015-11-23 17:47:32 UTC) #5
danrubel
5 years, 1 month ago (2015-11-23 17:50:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
38cec67d032ef0fb6dff662fa4e5dcd3863db062 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698