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

Issue 15736020: generate suggestions during analysis (Closed)

Created:
7 years, 6 months ago by danrubel
Modified:
7 years, 6 months ago
Reviewers:
jwren, Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

generate suggestions during analysis During analysis, detect imports that do not follow pub best practices and generate suggestions to be displayed in the editor. This CL generates the suggestions while a subsequent CL will display them. See dartbug.com/9734 R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=23562

Patch Set 1 #

Total comments: 18

Patch Set 2 : address comments #

Total comments: 1

Patch Set 3 : merge #

Patch Set 4 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -2 lines) Patch
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java View 1 1 chunk +6 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorType.java View 1 1 chunk +6 lines, -0 lines 0 comments Download
A editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/PubSuggestionCode.java View 1 1 chunk +76 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java View 2 chunks +3 lines, -0 lines 0 comments Download
A editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/PubVerifier.java View 1 1 chunk +176 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/FileUriResolver.java View 1 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/PackageUriResolver.java View 1 1 chunk +1 line, -1 line 0 comments Download
A editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/PubSuggestionCodeTest.java View 1 1 chunk +55 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TestAll.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
danrubel
7 years, 6 months ago (2013-05-31 14:55:51 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/15736020/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java (right): https://codereview.chromium.org/15736020/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java#newcode33 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java:33: SUGGESTION("s", "suggestion"), nit: For consistency, "\"s\"" --> "\"S\"" ...
7 years, 6 months ago (2013-05-31 15:28:58 UTC) #2
jwren
Pending Brian's comments LGTM.
7 years, 6 months ago (2013-05-31 17:38:12 UTC) #3
danrubel
PTAL.... https://codereview.chromium.org/15736020/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java (right): https://codereview.chromium.org/15736020/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java#newcode33 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java:33: SUGGESTION("s", "suggestion"), On 2013/05/31 15:28:58, Brian Wilkerson wrote: ...
7 years, 6 months ago (2013-05-31 19:43:45 UTC) #4
Brian Wilkerson
LGTM https://codereview.chromium.org/15736020/diff/7001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/PubVerifier.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/PubVerifier.java (right): https://codereview.chromium.org/15736020/diff/7001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/PubVerifier.java#newcode72 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/PubVerifier.java:72: if (checkForFileImportOutsideLibReferencesFileInside(directive, path)) { Sorry, I probably wasn't ...
7 years, 6 months ago (2013-05-31 19:56:20 UTC) #5
danrubel
7 years, 6 months ago (2013-06-03 19:54:56 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r23562 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698