Community
Participate
Working Groups
When inserting a template, tab characters in the template are inserted as-is, even if the tab policy option is set to "Spaces". I would expect that any tab characters in the template used for indentation would be replaced with the appropriate number of spaces if the tab policy option is set to "Spaces" (in either the global PHP > Formatter settings or the project specific settings).
Auto formatting for inserted code using selection solves the problem. I suppose the inserted code should be formatted before the actual insertion performed. Reproduced in 2.1-SR1. Moving to 2.2.0M1
moving
Created attachment 161280 [details] patch
Applied the patch. Thanks for contribution.
Tested in EclipsePdt-2.2.0.v20100427 Verified fixed. Kalin Yanev kalin.a@zend.com