Active
Project:
Quickstart: Prebuilt Drupal Development Environment
Component:
Packaging
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 09:10 UTC
Updated:
17 Aug 2012 at 20:38 UTC
In the configuration of Eclipse under Quickstart, some settings could be changed to conform to the Drupal coding standards by default. More specifically, it would involve changing the following in the 'preferences' menu:
Under PHP > codestyle > formatter, the tab policy should be set to 'spaces' and '2'.
Under PHP > editor > save actions, 'remove trailing whitespace' should be checked, and set to 'all lines'.
They are small things to do manually, but I think coding quality could benefit from setting these as defaults.
Kind regards,
Gijs.
Comments
Comment #1
MichaelCole commentedGood idea!
Comment #2
mike stewart commentedThanks! defintely appreciate the suggestions! fixed in 7.x-2.x
Comment #4
technikh commentedit will be great if quick start includes http://drupal.org/project/eclipse
this will take care of tab policy as per standards.