[Webkit-unassigned] [Bug 165223] New: Web Inspector: JS PrettyPrinting - multiline if conditions should be indented

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 14:30:17 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165223

            Bug ID: 165223
           Summary: Web Inspector: JS PrettyPrinting - multiline if
                    conditions should be indented
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: bburg at apple.com, dcrousso+webkit at gmail.com,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Summary:
Web Inspector: JS PrettyPrinting - multiline if conditions should be indented

Input:
if (a
    || b
    || c) {
  true;
}

Expected Output:
if (a
    || b
    || c) {
  true;
}

Actual Output:
if (a
|| b
|| c) {
  true;
}

Notes:
- The if statement's header (if (...)) should be indented in case it is multi-line (based on user's original formatting).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161130/9ea0ee7a/attachment.html>


More information about the webkit-unassigned mailing list