Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsIssues with extra lines in Eclipse after upgrading to Windows 7
https://www.eclipse.org/forums/index.php/mv/msg/271031/771932/#msg_771932
And if I edit the php file in the new Eclipse, save it, then upload it to my web server I get an invalid php character error. I then re-open the same php script and its all on one line and I have to manually add back all the formatting. In order to bypass this issue I have to open the php script via Eclipse, copy the whole script, paste it into notepad, copy it from notepad and then paste it over the old script in Eclipse and save. Any idea why this is happening? The same issue seems to be happening in other IDE's as well such as NetBeans, PHPDesigner and Aptana Studio 3.
]]>John Perry2011-12-28T15:08:04-00:00Re: Issues with extra lines in Eclipse after upgrading to Windows 7
https://www.eclipse.org/forums/index.php/mv/msg/271031/775604/#msg_775604
> So I was using an older version of Eclipse for the longest time for my
> php projects, I believe I was using Galileo, on Windows XP 64 bit. I
> then upgraded to Windows 7 64 bit and I am now using the latest
> version of Eclipse, Indigo. When I open up any php files via Eclipse
> every line has an extra new line. For example:
>
> //Old Eclipse code
> $this = 'that';
> $that = 'this';
>
> //New Eclipse code
> $this = 'that';
>
> $that = 'this';
Could be an encoding or line delimiter issue. Enable to show whitespace
characters and/or take a look at the file in a Hex editor.
Dani
>
> And if I edit the php file in the new Eclipse, save it, then upload it
> to my web server I get an invalid php character error. I then re-open
> the same php script and its all on one line and I have to manually add
> back all the formatting. In order to bypass this issue I have to open
> the php script via Eclipse, copy the whole script, paste it into
> notepad, copy it from notepad and then paste it over the old script in
> Eclipse and save. Any idea why this is happening? The same issue seems
> to be happening in other IDE's as well such as NetBeans, PHPDesigner
> and Aptana Studio 3.
>]]>Dani Megert2012-01-06T10:46:21-00:00