Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2012 at 16:29 UTC
Updated:
29 Jul 2014 at 21:18 UTC
Drupal uses 2 spaces for indentation, while Symfony uses 4 spaces for indentation. Switching between the two different formats in your IDE can be bothersome.
EditorConfig provides configuration settings for supported text editors on a per-project basis in a hidden .editorconfig file. Opening up a file in Symfony finds Symfony's configuration and uses the 4 space indents, while opening up a file in Drupal will automatically detect the 2 spaced indents.
None.
None... This is completely optional. Developers can install the plugin to have their IDE detect the configuration.
| Comment | File | Size | Author |
|---|---|---|---|
| editorconfig.patch | 454 bytes | robloach |
Comments
Comment #1
robloachTagging.
Comment #2
nod_dup #1713662: Introduce .editorconfig to auto-configure editors that support it
Comment #2.0
nod_dfs