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

Issue 8966004: Fix the Dart formatter (Closed)

Created:
9 years ago by Mark R Russell
Modified:
9 years ago
Reviewers:
messick, danrubel
Visibility:
Public.

Description

Fix the Dart formatter This cl addresses fixing tests 001 and 002. Other cl's will be created for continue to fix the formatter. Committed: https://code.google.com/p/dart/source/detail?r=2502

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -75 lines) Patch
M compiler/java/com/google/dart/compiler/parser/DartScanner.java View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java View 1 21 chunks +133 lines, -7 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/Scanner.java View 1 9 chunks +67 lines, -50 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/indexer/location/DartElementLocationImpl.java View 5 chunks +7 lines, -7 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/indexer/location/SyntheticLocation.java View 3 chunks +5 lines, -5 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/FormatterTests.java View 1 2 5 chunks +14 lines, -4 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test002$A_in.dart View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test002$A_out.dart View 1 chunk +1 line, -1 line 0 comments Download
A editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.dart View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mark R Russell
Here a the first of many CL's to fix and add new language features to ...
9 years ago (2011-12-15 22:09:16 UTC) #1
messick
Please restore the formatting of Scribe so I can see what has changed. http://codereview.chromium.org/8966004/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java File ...
9 years ago (2011-12-15 22:34:06 UTC) #2
Mark R Russell
I cleaned up scribe and removed all of the debug code. http://codereview.chromium.org/8966004/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java (right): ...
9 years ago (2011-12-16 01:39:56 UTC) #3
Mark R Russell
Per our conversation I dropped scanner.java out of this CL. I am going to rework ...
9 years ago (2011-12-16 02:09:17 UTC) #4
Mark R Russell
I did not drop scanner I dropped scribe.java
9 years ago (2011-12-16 02:09:53 UTC) #5
messick
lgtm
9 years ago (2011-12-16 02:12:39 UTC) #6
Mark R Russell
9 years ago (2011-12-16 02:14:32 UTC) #7
Thanks I'll commit it

Powered by Google App Engine
This is Rietveld 408576698