[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Biggest Eclipse bug ever about Java?

Dear Eclipse SWT developers/users!


Let me understand: you delete some part of file in Eclipse, press save - the file contents remain the same? (i.e. you close Eclipse, and then open it again - you see the original file)

Not fully original. The point where I deleted content, see ending char + ?> (end of php file string) and this overwrite the next line chars.
If the next line was "hello world!" next line will be


"?>llo world"

or

"?>
o world"

but file size will 100% same.


YES, or sometimes I see the ORIGINAL file and where I deleted a file I show ?> chars and all content same with original file BUT all times the file size don't changed!


I think this is the biggest bug in ECLIPSE what make it useless :-(


> My problem is:
>
> Any version of Eclipse (newest, old 3.2, easyeclipse, AptanaStudio, etc... )
> cannot change the PHP's file size to smaller - only to bigger!
>
> my php file 1000 byte and I delete 500 byte and save: I see good the saved
> file in eclipse... but saved file don't changed... only ?> chars at 500
> byte... but other 500 byte unchanged and still 1000 byte the file.
>
> If I add new content to 1000 byte and will 1200 byte = ALL OK. But if I
> delete content = will 1200 byte again and buggy file from this point...
>
> file is UTF8 but tried with ASCII file too... all same...
>
> Help me! I think it's java or eclipse bug but maybe about java...
>
> Seems like file handle cannot allowed to cut file, only to append content...
> It's all about java?
> If I edit with this file with notepad / any other editor = can cut the file
> content...
>
> Enviroment:
>
> Hardware: Intel Core 2 Duo E6550, 2 GB RAM, SATA, desktop PC
>
> Software: Windows XP SP2 English, IE7, Firefox 2 + 3 beta
>
> jre-1_5_0_11-windows-i586-p
> but tried with:
> jre-1_5_0_14-windows-i586-p
> jre-1_5_0_06-windows-i586-p
> j2re-1_4_2_16-windows-i586-p
> j2sdk-1_4_2_17-windows-i586-p
>
> And all same...
>
> Last version checked:
>
> pdt-all-in-one-S20080505_RC1-win32.zip
>
>
> So... I can't belive it's common bug becuase no developer can use eclipse by
> this big bug. What is the solution?
>



For example detailed description, original file:

<?
php code 1

php code 2

php code 3
?>

I delete php code 2 + php code 3 line, left only 1 line, this will be:

<?
php code 1
?>

BUT!!!!!!!!!! I show this with text editor or if reopen file:

<?
php code 1
?>
p code 2

php code 3
?>

And I show CORRECTLY the file if I press "SAVE" after first modification (but really file size don't changed, only date updated). If I close file + open again I see the bugged source -OR- I see the only 1 line source correctly BUT the file bugged because Eclipse stop display after first ?> .
If I use ANY OTHER non JAVA based editor = ALL WORKS FINE and no this bug.


---------

BUT file size will 100% same, file date changed!
So... Eclipse and ALL JAVA IDE don't MODIFY TO FILE SIZE SMALLER.

If I add new lines = ALL OK, but if delete = this sh1t happends...

I don't belive with this bug somebody can use and JAVA IDE... Eclipse useless with this bug...


Thanks! Mr. Hama