New issue
Advanced search Search tips

Issue 727379 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Default indent width in Developer tools

Reported by gbakewe...@gmail.com, May 29 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. Open developer tools
2. Write multi-line javascript
3. By default indentation is four spaces

What is the expected behavior?
2-space indent, as most modern style guides (Google's, Mozilla's, GitHub's etc.) recommends

What went wrong?
There was a four-space indent.

Did this work before? N/A 

Chrome version: 58.0.3029.110  Channel: stable
OS Version: OS X 10.12.5
Flash Version:
 
Components: -UI Platform>DevTools>JavaScript
Labels: Needs-Triage-M58
Cc: mmanchala@chromium.org
Labels: Needs-Feedback
gbakewell7: Could you please provide sample test file or URL to triage the Issue from Test team end

Thanks!

Comment 3 by woxxom@gmail.com, May 30 2017

Reporter@, you can customize the indent in devtools settings, see the attachment.
Clip270-fs8.png
8.3 KB View Download
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)
We can swap the default...
Status: Archived (was: Assigned)
Bulk closing low-priority issues with no activity. Please re-file and refer to the closed issue if it's essential to fix.

Sign in to add a comment