I am using Eclipse Indigo 3.7.0 with PDT for PHP development. When I copy / paste the code, Eclipse automatically formats it.
For example, copying this:
if ($distance > 50 && $distance <= 100) {$local_score = 8;} if ($distance > 100 && $distance <= 200) {$local_score = 6;}
Inserted into this:
if ($distance > 50 && $distance <= 100) { $local_score = 8; } if ($distance > 100 && $distance <= 200) { $local_score = 6; }
Any idea on how to disable this? Best wishes.
source share