Community
Participate
Working Groups
Build Identifier: 20100218-1602 Formatting [Ctrl-Shift-F] PHP code removes all indention. And formatting code with no indention does not add any. Reproducible: Always Steps to Reproduce: 1. Load formatted code 2. Trying to format it (Ctrl-Shift-F)
Created attachment 171240 [details] Demo Screenshot
Hi Can you try the latest pdt version,the Ctrl-Shift-F works for me:)
(In reply to comment #2) > Hi > > Can you try the latest pdt version,the Ctrl-Shift-F works for me:) It is a new installation on a new notebook with the latest version. I downloaded the 'Tools for PHP developers' package today (2010-06-07).
Created attachment 171245 [details] Installed Versions of PDT
Hi, Can you try the one at the following page http://build.eclipse.org/technology/epp/epp_build/36/download/20100605-1255/ The one you downloaded is the last release:)
(In reply to comment #5) > Hi, > > Can you try the one at the following page > http://build.eclipse.org/technology/epp/epp_build/36/download/20100605-1255/ > > The one you downloaded is the last release:) I have the same problem with that version. I've seen now, that not every indention ist removed. in comment blocks it add one space before the *.
can you provide a sample file that you experience this behavior with? thanks!
I have this behavior with every php file
Hi Can you describe it as the actual result and the expected result? For example: have a file with the following content: ... after format,the result is: ... Expected result is: ... Thanks!
Created attachment 171813 [details] Example php files before and after formatting
I am not sure if it is a bug.I think we add the space before the * Intentionally:)
works for me
No longer reproducible. Closing... Kalin Yanev kalin.a@zend.com