netbeanside

Avoid file overwrites in NetBeans


I love Netbeans, but there's a "bug" or "way of doing things" that I don't like, and I want to know if there's something I could do to make it right:

Scenario

  1. I edit a example.css in Netbeans & save.
  2. I edit example.css outside Netbeans & save.
  3. I edit example.css in Netbeans again.

Problem: Changes in #2 were overwritten.

Do you know how to config Netbeans to check for updates on files before save?

Do you know a similar IDE for PHP that works with remote project similar to Netbeans?

Thanks!


Solution

  • In NetBeans: I think you should perform Source -> Scan for external before saving.

    I believe this feature(Auto Refresh) is supported by by Eclipse new versions. If you want to switch your IDE, please download from here-->Eclipse for PHP Developers.

    You may find steps to configure Eclipse with remote file system, please refer Getting Started with the Remote System Explorer.