I'm on a team where some developers are using Eclipse and others are using IntelliJ 12.1.3, all under Windows 7. The Eclipse users are noticing diffs on the properties of .java files. The specific change is visible with cygwin's ls command: the executable bit is set on user, group and other. What causes this? Is there a way to tell IntelliJ not to monkey with this bit?
Found this: http://youtrack.jetbrains.com/issue/IDEA-74433
By default, on each save IDEA creates a new file, writes to it, drops original, and renames new file. Setting idea.no.safe.write disables this behavior (original file is just rewritten instead).
Further down..
It is now configured via GUI - File | Settings | General | Use "safe write". You need to un-check it.
The thread says the root cause is because the original files are over sftp (which wasn't true for me, all my files are on the local filesystem), but this fixed it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With