AshishJoshi-asj / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

editor settings #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I suggest that we should agree on some settings in our editors which cause
problems when I am committing you files (like DataGrid.php).

What I use and think is a standard :-) (I am using Eclipse):
* spaces instead tabs (4 spaces)
* trailing spaces on end of line when saving

Original issue reported on code.google.com by martin.m...@gmail.com on 19 Jan 2010 at 3:50

GoogleCodeExporter commented 9 years ago
Hi Martin,

Your are right, the problem is that for some reason Zend Studio is not 
respecting my
options.

I've selected in preferences spaces for tabs, but when a format the code, the 
spaces
are removed and tabs inserted.

This sucks. 

Original comment by pao.fre...@gmail.com on 19 Jan 2010 at 4:47

GoogleCodeExporter commented 9 years ago
where do you set the options, I think there are 2 places when using PDT (which 
is
Zend Studio based on)

There is General/Editors
and then there is PHP/Editor

Most important is:
PHP/Editor/Save Actions ... Removing trailing whitespaces
PHP/Editor/Typing ... Tab key indents the currect line

Original comment by martin.m...@gmail.com on 19 Jan 2010 at 4:56

GoogleCodeExporter commented 9 years ago
I think it's working now. thanks.

Original comment by pao.fre...@gmail.com on 19 Jan 2010 at 5:22

GoogleCodeExporter commented 9 years ago
;)

Original comment by martin.m...@gmail.com on 19 Jan 2010 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by bento.vi...@gmail.com on 3 Mar 2010 at 4:56