Juan Carlos wrote: ↑Thu Dec 25, 2025 10:56 am
I used like base a previous version of my code I added the new code fro the corrupt file, and no the problem with that part of code don't appears
That means, that this code isn't corrupted.
I used the Notepad++ to see if there are some strange character but neither I saved the code with the Notepad++ but the problem continues, this is the first time that I have with the IDE and corruption of hws files even with other Hollywood versions too, even working in code and it freezes the IDE and I don't save it the problem is worst, restart IDE and the hws file is blank although the code has the size in bytes for example 52 kb I tryed to open the code with Notepad++ and the code also is blank, perhaps the problem is in the way the IDE handles files, keeping them open, might generate an invisible bug due to some strange circumstance. But the corrupt code has the same problem even compiled with other Hollywood systems.
I don't fully understand the description (after all, you can't compile empty code), but in any case, I can't reproduce it. I have been using the IDE intensively for several years on different systems and have never experienced such behavior. The IDE also does not keep a source code file open. You can rename or delete a file that is currently open in the IDE with no problem.
If the files are really empty after you save them, I would look for the problem elsewhere on your PC.
Do you have any antivirus software installed that might interfere with the functions for saving or reading files?