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

Issue 2918613002: Add completion support for plugins (Closed)

Created:
3 years, 6 months ago by Brian Wilkerson
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 24
Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -0 lines) Patch
A pkg/analyzer_plugin/lib/src/utilities/completion.dart View 1 chunk +72 lines, -0 lines 3 comments Download
A pkg/analyzer_plugin/lib/utilities/completion.dart View 1 chunk +132 lines, -0 lines 19 comments Download
A pkg/analyzer_plugin/lib/utilities/generator.dart View 1 chunk +42 lines, -0 lines 2 comments Download

Messages

Total messages: 16 (2 generated)
Brian Wilkerson
This isn't complete, but it's a fairly good sketch of where I think the completion ...
3 years, 6 months ago (2017-05-31 16:37:27 UTC) #2
maxkim
On 2017/05/31 16:37:27, Brian Wilkerson wrote: > It also doesn't have everything that the angular ...
3 years, 6 months ago (2017-05-31 17:44:25 UTC) #3
maxkim
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart File pkg/analyzer_plugin/lib/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode89 pkg/analyzer_plugin/lib/utilities/completion.dart:89: await contributor.computeSuggestions(request, collector); Really liking the new structure. Let ...
3 years, 6 months ago (2017-05-31 17:44:35 UTC) #4
Brian Wilkerson
Thanks for the comments! > > ... it's missing ReplacementRange, TypeMemberContributor, > > InheritedReferenceContributor, and ...
3 years, 6 months ago (2017-05-31 18:39:43 UTC) #5
maxkim
> That list was taken directly from the angular plugin code base (in > angular_analyzer_plugin/server_plugin/lib/src/completion.dart, ...
3 years, 6 months ago (2017-05-31 19:03:46 UTC) #6
maxkim
lgtm https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart File pkg/analyzer_plugin/lib/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode89 pkg/analyzer_plugin/lib/utilities/completion.dart:89: await contributor.computeSuggestions(request, collector); On 2017/05/31 18:39:43, Brian Wilkerson ...
3 years, 6 months ago (2017-05-31 19:04:03 UTC) #7
Brian Wilkerson
> As for ReplacementRange, it could be nice to have it an abstract class and ...
3 years, 6 months ago (2017-05-31 19:24:37 UTC) #8
scheglov
LGTM https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart File pkg/analyzer_plugin/lib/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode38 pkg/analyzer_plugin/lib/utilities/completion.dart:38: void set offset(int offset); Should we throw an ...
3 years, 6 months ago (2017-05-31 19:26:03 UTC) #9
Brian Wilkerson
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart File pkg/analyzer_plugin/lib/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode38 pkg/analyzer_plugin/lib/utilities/completion.dart:38: void set offset(int offset); > Should we throw an ...
3 years, 6 months ago (2017-05-31 19:33:20 UTC) #10
mfairhurst
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart File pkg/analyzer_plugin/lib/src/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart#newcode47 pkg/analyzer_plugin/lib/src/utilities/completion.dart:47: final ResolveResult result; I mentioned this elsewhere in an ...
3 years, 6 months ago (2017-05-31 21:49:35 UTC) #11
Brian Wilkerson
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart File pkg/analyzer_plugin/lib/src/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart#newcode47 pkg/analyzer_plugin/lib/src/utilities/completion.dart:47: final ResolveResult result; Actually, you need this field because ...
3 years, 6 months ago (2017-05-31 22:51:47 UTC) #12
mfairhurst
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart File pkg/analyzer_plugin/lib/src/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/src/utilities/completion.dart#newcode47 pkg/analyzer_plugin/lib/src/utilities/completion.dart:47: final ResolveResult result; On 2017/05/31 22:51:47, Brian Wilkerson wrote: ...
3 years, 6 months ago (2017-05-31 23:17:37 UTC) #13
Brian Wilkerson
https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart File pkg/analyzer_plugin/lib/utilities/completion.dart (right): https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode38 pkg/analyzer_plugin/lib/utilities/completion.dart:38: void set offset(int offset); Done https://codereview.chromium.org/2918613002/diff/1/pkg/analyzer_plugin/lib/utilities/completion.dart#newcode87 pkg/analyzer_plugin/lib/utilities/completion.dart:87: request.checkAborted(); > ...
3 years, 6 months ago (2017-06-03 16:44:37 UTC) #14
Brian Wilkerson
3 years, 6 months ago (2017-06-03 16:45:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
12398ad9172005559d7beb4bf14dae000eb18833 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698