RESOLVED FIXED 72119
Web Inspector: Option to configure indentation of pretty-printed Javascript
https://bugs.webkit.org/show_bug.cgi?id=72119
Summary Web Inspector: Option to configure indentation of pretty-printed Javascript
Alexander Pavlov (apavlov)
Reported 2011-11-11 05:29:52 PST
What steps will reproduce the problem? 1. Pretty print any script on the page 2. The indentation used by default seems to be 4 spaces What is the expected result? It would be nice to be able to configure indentation level — 2 spaces, 4 spaces, etc. What happens instead? Indentation level is always at 4 spaces, and is not configurable. Upstreaming http://code.google.com/p/chromium/issues/detail?id=103233
Attachments
Patch (8.86 KB, patch)
2011-11-11 06:20 PST, Alexander Pavlov (apavlov)
pfeldman: review+
Alexander Pavlov (apavlov)
Comment 1 2011-11-11 06:20:15 PST
Pavel Podivilov
Comment 2 2011-11-11 06:59:32 PST
Looks good!
Alexander Pavlov (apavlov)
Comment 3 2011-11-11 07:14:55 PST
Note You need to log in before you can comment on or make changes to this bug.