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

Issue 2917943002: Postfix completion (Closed)

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

Description

This defines some postfix completion templates for use in the IntelliJ editor. R=brianwilkerson@google.com To use it, you'll need a version of the Dart plugin with this PR patched in: https://github.com/JetBrains/intellij-plugins/pull/534 Committed: https://github.com/dart-lang/sdk/commit/c26c2774ca4c8c41357ede2ca5dcb12542d94761

Patch Set 1 #

Patch Set 2 : Revert sort #

Patch Set 3 : checkpoint #

Patch Set 4 : review candidate #

Patch Set 5 : Make .try work on entire lines #

Total comments: 16

Patch Set 6 : Update server protocol #

Total comments: 2

Patch Set 7 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2880 lines, -67 lines) Patch
M pkg/analysis_server/doc/api.html View 1 2 3 4 5 4 chunks +25 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/protocol/protocol_generated.dart View 1 2 3 4 5 11 chunks +761 lines, -65 lines 0 comments Download
M pkg/analysis_server/lib/src/constants.dart View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/edit/edit_domain.dart View 1 2 3 4 5 4 chunks +85 lines, -0 lines 0 comments Download
A pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart View 1 2 3 4 5 1 chunk +583 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/edit/postfix_completion_test.dart View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/integration/support/integration_test_methods.dart View 1 2 3 4 5 2 chunks +88 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/integration/support/protocol_matchers.dart View 1 2 3 4 5 3 chunks +77 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/services/completion/postfix/postfix_completion_test.dart View 1 2 3 4 1 chunk +863 lines, -0 lines 0 comments Download
M pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java View 1 2 3 4 5 2 chunks +31 lines, -0 lines 0 comments Download
A pkg/analysis_server/tool/spec/generated/java/types/PostfixTemplateDescriptor.java View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
M pkg/analysis_server/tool/spec/spec_input.html View 1 2 3 4 5 6 3 chunks +108 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Brian Wilkerson
lgtm https://codereview.chromium.org/2917943002/diff/80001/pkg/analysis_server/lib/protocol/protocol_generated.dart File pkg/analysis_server/lib/protocol/protocol_generated.dart (right): https://codereview.chromium.org/2917943002/diff/80001/pkg/analysis_server/lib/protocol/protocol_generated.dart#newcode7217 pkg/analysis_server/lib/protocol/protocol_generated.dart:7217: // factory EditListPostfixCompletionTemplatesResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) ...
3 years, 6 months ago (2017-06-22 14:54:40 UTC) #3
messick
Thanks for the feedback. I've already addressed most of the issues in my local code ...
3 years, 6 months ago (2017-06-22 16:12:33 UTC) #4
Brian Wilkerson
https://codereview.chromium.org/2917943002/diff/80001/pkg/analysis_server/lib/protocol/protocol_generated.dart File pkg/analysis_server/lib/protocol/protocol_generated.dart (right): https://codereview.chromium.org/2917943002/diff/80001/pkg/analysis_server/lib/protocol/protocol_generated.dart#newcode7217 pkg/analysis_server/lib/protocol/protocol_generated.dart:7217: // factory EditListPostfixCompletionTemplatesResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) { ...
3 years, 6 months ago (2017-06-22 16:22:46 UTC) #5
messick
PTAL I updated the spec, generated all the proper files, revised the Java code to ...
3 years, 6 months ago (2017-06-22 23:36:50 UTC) #6
Brian Wilkerson
lgtm https://codereview.chromium.org/2917943002/diff/100001/pkg/analysis_server/tool/spec/spec_input.html File pkg/analysis_server/tool/spec/spec_input.html (right): https://codereview.chromium.org/2917943002/diff/100001/pkg/analysis_server/tool/spec/spec_input.html#newcode2020 pkg/analysis_server/tool/spec/spec_input.html:2020: The list of available template. "template" --> "templates"
3 years, 5 months ago (2017-06-26 15:26:14 UTC) #7
messick
https://codereview.chromium.org/2917943002/diff/100001/pkg/analysis_server/tool/spec/spec_input.html File pkg/analysis_server/tool/spec/spec_input.html (right): https://codereview.chromium.org/2917943002/diff/100001/pkg/analysis_server/tool/spec/spec_input.html#newcode2020 pkg/analysis_server/tool/spec/spec_input.html:2020: The list of available template. On 2017/06/26 15:26:14, Brian ...
3 years, 5 months ago (2017-06-26 16:52:34 UTC) #8
messick
Committed patchset #7 (id:120001) manually as c26c2774ca4c8c41357ede2ca5dcb12542d94761 (presubmit successful).
3 years, 5 months ago (2017-06-26 16:53:08 UTC) #10
Vyacheslav Egorov (Google)
This made analyzer bots red. Please either revert or fix.
3 years, 5 months ago (2017-06-26 18:01:04 UTC) #12
messick
3 years, 5 months ago (2017-06-26 18:24:50 UTC) #13
Message was sent while issue was closed.
On 2017/06/26 18:01:04, Vyacheslav Egorov (Google) wrote:
> This made analyzer bots red. 
> 
> Please either revert or fix.

https://codereview.chromium.org/2960683002/

Powered by Google App Engine
This is Rietveld 408576698