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

Issue 1010603007: [Extension API Extern Generation] Fix comment indentation (Closed)

Created:
5 years, 9 months ago by Devlin
Modified:
5 years, 9 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, Tyler Breisacher (Chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extension API Extern Generation] Fix comment indentation For extern comments, line wrapping sometimes has indentation. For instance: /** * @param {FooBar} This is some foobar * that has the comment wrapped. */ We should support this. Add an optional parameter to the Code Comment method to allow for comment indentation. BUG=461039 Committed: https://crrev.com/8ea16e11973638ad0aafa9681997fade9305bcff Cr-Commit-Position: refs/heads/master@{#322504}

Patch Set 1 #

Total comments: 6

Patch Set 2 : True 80 char limit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -23 lines) Patch
M tools/json_schema_compiler/code.py View 1 2 chunks +22 lines, -8 lines 0 comments Download
M tools/json_schema_compiler/code_test.py View 1 3 chunks +19 lines, -11 lines 0 comments Download
M tools/json_schema_compiler/js_externs_generator.py View 3 chunks +4 lines, -3 lines 0 comments Download
M tools/json_schema_compiler/js_externs_generator_test.py View 1 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Devlin
Annnnd... here's extern comment wrapping. https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py#newcode101 tools/json_schema_compiler/code.py:101: line = comment[0:max_len] Technically, ...
5 years, 9 months ago (2015-03-26 22:36:55 UTC) #2
Dan Beam
lgtm https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py#newcode101 tools/json_schema_compiler/code.py:101: line = comment[0:max_len] On 2015/03/26 22:36:54, Devlin wrote: ...
5 years, 9 months ago (2015-03-26 22:41:49 UTC) #3
Devlin
https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1010603007/diff/1/tools/json_schema_compiler/code.py#newcode101 tools/json_schema_compiler/code.py:101: line = comment[0:max_len] On 2015/03/26 22:41:48, Dan Beam wrote: ...
5 years, 9 months ago (2015-03-26 23:13:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010603007/40001
5 years, 9 months ago (2015-03-26 23:13:50 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 9 months ago (2015-03-27 00:13:22 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 00:14:29 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8ea16e11973638ad0aafa9681997fade9305bcff
Cr-Commit-Position: refs/heads/master@{#322504}

Powered by Google App Engine
This is Rietveld 408576698