|
[ phpeclipse-Bugs-1432767 ] Code formatter inserts superfluous spaces in mu: msg#00061ide.eclipse.phpeclipse.devel
Bugs item #1432767, was opened at 2006-02-16 11:44 Message generated for change (Comment added) made by freeman3 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1432767&group_id=57621 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: PHP Editor Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dmitry Koteroff (koteroff) Assigned to: Nobody/Anonymous (nobody) Summary: Code formatter inserts superfluous spaces in multiline str. Initial Comment: Try to re-format the following piece of code: <?php function aaa() { if (1) { bbb(' xxx yyy '); } } ?> Just create new file, past the code there and press Ctrl+Shift+F. You will see: - after first Ctrl+Shift+F: <?php function aaa() { if (1) { bbb(' xxx yyy '); } } ?> - after second Ctrl+Shift+F: <?php function aaa() { if (1) { bbb(' xxx yyy '); } } ?> etc. You see, string is moving right more and more... Aditionally, it inserts trailing newlines to the end of file. ---------------------------------------------------------------------- Comment By: freeman (freeman3) Date: 2006-04-26 10:35 Message: Logged In: YES user_id=1059466 i have the same problem it's really a big problem can you fix it quickly? ---------------------------------------------------------------------- Comment By: Dmitry Koteroff (koteroff) Date: 2006-02-16 11:49 Message: Logged In: YES user_id=647395 <?php function aaa() { if (1) { bbb(' xxx yyy '); } } ?> ---------------------------------------------------------------------- Comment By: Dmitry Koteroff (koteroff) Date: 2006-02-16 11:48 Message: Logged In: YES user_id=647395 Oops... FourceForge ate spaces... test file attached. phpEclipse version 1.1.8, Windows. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1432767&group_id=57621 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ phpeclipse-Bugs-1476637 ] 'create new file' with extension .html does not allow edits: 00061, SourceForge.net |
|---|---|
| Next by Date: | [ phpeclipse-Bugs-1468680 ] phpeclipse 1.1.8 selectionListenerWithASTManager Job: 00061, SourceForge.net |
| Previous by Thread: | [ phpeclipse-Bugs-1476637 ] 'create new file' with extension .html does not allow editsi: 00061, SourceForge.net |
| Next by Thread: | [ phpeclipse-Bugs-1284620 ] Template error on certain variables: 00061, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |