<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: JS PrettyPrinting - multiline if conditions should be indented"
href="https://bugs.webkit.org/show_bug.cgi?id=165223#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: JS PrettyPrinting - multiline if conditions should be indented"
href="https://bugs.webkit.org/show_bug.cgi?id=165223">bug 165223</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=165223#c2">comment #2</a>)
<span class="quote">> IMO, this would be perfect for an item in the Settings tab. Personally, I
> write my code to look exactly like the actual output, so I'd like to have
> the option to keep it like that. Maybe something along the lines of "Match
> Indent of Multi-Line if with First Line" ¯\_(ツ)_/¯</span >
This would be too obscure on its own. Potentially if we had settings for other editing / formatting behaviors then it could be included in a group.
This formatting suggestion matches CodeMirror behavior, and WebKit style <<a href="https://webkit.org/code-style-guidelines/#indentation-wrap-bool-op">https://webkit.org/code-style-guidelines/#indentation-wrap-bool-op</a>> which is what we typically make our pretty printer do.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>