New issue
Advanced search Search tips

Issue 840515 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

DevTools: default to 2 space indent

Project Member Reported by paulir...@chromium.org, May 7 2018

Issue description

Andecdotally, javascript developers are all about 2 spaces, rather than 4.
But DevTools defaults to 4 in settings. And also in a few other spaces within the tool that don't honor the preference.

Here's some data showing 2spaces are the developer base's go-to.
https://hackernoon.com/what-javascript-code-style-is-the-most-popular-5a3f5bec1f6f

Let's change the default and also fix the places where we don't use it. (auto-indentation in console, etc)


 

Comment 1 by alph@chromium.org, May 14 2018

Labels: -Type-Bug Type-Feature
Owner: einbinder@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment