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

Issue 18346013: Formatter re-think/updates. (Closed)

Created:
7 years, 5 months ago by pquitslund
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Formatter re-think/updates. A redesign striving for simplicity and a riff on ToSourceASTVisitor. Some shuffling and renaming still to come. Line and Token abstractions are also quite likely to change. Consider this a baby-step. R=brianwilkerson@google.com, scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=24758

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+998 lines, -468 lines) Patch
M pkg/analyzer_experimental/lib/src/services/formatter_impl.dart View 5 chunks +682 lines, -324 lines 2 comments Download
A pkg/analyzer_experimental/lib/src/services/writer.dart View 1 chunk +180 lines, -0 lines 0 comments Download
M pkg/analyzer_experimental/test/services/formatter_test.dart View 3 chunks +136 lines, -144 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
pquitslund
7 years, 5 months ago (2013-07-03 21:41:50 UTC) #1
scheglov
lgtm
7 years, 5 months ago (2013-07-03 21:51:09 UTC) #2
Brian Wilkerson
LGTM. I didn't look at every single visit method. Let me know if there are ...
7 years, 5 months ago (2013-07-03 22:03:02 UTC) #3
pquitslund
Thanks! https://codereview.chromium.org/18346013/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart File pkg/analyzer_experimental/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/18346013/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart#newcode149 pkg/analyzer_experimental/lib/src/services/formatter_impl.dart:149: writer = new SourceWriter(initialIndent: options.initialIndentationLevel, On 2013/07/03 22:03:02, ...
7 years, 5 months ago (2013-07-03 22:21:39 UTC) #4
pquitslund
7 years, 5 months ago (2013-07-03 22:22:26 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as r24758 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698