PHPEditor SOMETIMES not turning tabs into spaces [message #13046] |
Tue, 10 April 2007 10:48  |
Eclipse User |
|
|
|
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?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07017 seconds