Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » PHPEditor SOMETIMES not turning tabs into spaces
PHPEditor SOMETIMES not turning tabs into spaces [message #13046] Tue, 10 April 2007 10:48 Go to next message
Eclipse UserFriend
I have set all the options i could find for converting tabs into spaces
during editing (in the php editor). also the php formatter option which
seems to be meant for it.

but the phpeditor still manages to SOMETIMES put tabs instead of spaces
into my php file when i edit it.
it seems to depend on the code i'm editing because in the same php file
tabs SOMETIMES get converted into spaces.

example:

<?php
class tables_CourseProgram {
function valuelist__unadded_courses(){
$var = "blah";
}
}
?>

in the above example pressing tab anywhere results in spaces (4 in my
case) but pressing tab anywhere after the = and before the second "
results in a tab.
pressing tab after "some text" and before ; results in spaces again!

i hope this is not (bugged) intended behaviour. like trying to allow
putting tab characters inside strings during editing of php-code. if i
wanted a tab in the coded string i would escape it.

any ideas?
Re: PHPEditor SOMETIMES not turning tabs into spaces [message #13132 is a reply to message #13046] Wed, 11 April 2007 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dominic.clifton.gr-tech.net

> i hope this is not (bugged) intended behaviour. like trying to allow
> putting tab characters inside strings during editing of php-code. if i
> wanted a tab in the coded string i would escape it.

I agree, that's pretty broken.

Dom
Re: PHPEditor SOMETIMES not turning tabs into spaces [message #13188 is a reply to message #13132] Wed, 11 April 2007 07:22 Go to previous messageGo to next message
Eclipse UserFriend
yeah
i now made a bug-report here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181785

there are more bug reports about wacky tab behaviour in the php editor
(but mine is easily reproducable).
setting up "convert tabs to spaces" means no tabs when pressing tabs.
seems kinda like a nobrainer to me :)
Re: PHPEditor SOMETIMES not turning tabs into spaces [message #14009 is a reply to message #13188] Fri, 13 April 2007 21:01 Go to previous message
Eclipse UserFriend
yaaay
this is fixed in the latest version i use now:
pdt-all-in-one-S20070401_RC3-win32
Previous Topic:eclipse PDT vs Zend Studio 5.5
Next Topic:php editor functionality outside of php projects
Goto Forum:
  


Current Time: Thu Jul 17 21:31:15 EDT 2025

Powered by FUDForum. Page generated in 0.07017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top