Hello there,
I’m experiencing a weird bug…
My setup :
- OS X 10.9
- Sublime Text 3 nightly (but tested on 2.0.2 and same thing)
- VMWare Fusion 6.0.2 (with debian) with Shared Folder on a web project. PHP files are in OS X folder, web env is on virtual machine, accessing through HGFS shared folder.
The problem :
When I save a file, there is a lot of chance (95% maybe) that this file gets “corrupted” or not updated when read by the VM. Examples :
Most of time after save, PHP tells me “Parse error: syntax error, unexpected $end in …”.
Sometime i change a few characters in code, save, then refresh and the change made does not appear.
When it came :
I think this bug arrived with OS X 10.9 (update from 10.8). I do not remember this bug on 10.8.
What I tried :
- Enabling or disabling atomic file saving. No change.
The workaround :
I need to multiply characters (like 3 semicolons at end of a line), save, then refresh page and problem solved. It’s like forcing the app to see that I changed something and forcing it to re-save the file correctly.
This problem is not present when editing the same files with another editor like Coda.
Thanks for you help, Sublime Text has many advantages over others editors (like file reading and color syntaxing speed!), it’s hard to not use it!