This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Editing and then saving file in local network PHP project doesn't show changes in my IDE | ||
---|---|---|---|
Product: | platform | Reporter: | d4mn |
Component: | Filesystems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | pjiricka, tmysik |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
d4mn
2013-02-05 12:20:28 UTC
Thanks for the report, though this does not sounds like a P1 problem, changing to P2. Assigning to filesystems for evaluation. What do you mean by "netbeans window"? Projects tab? You can run your IDE with -J-Dorg.netbeans.modules.masterfs.watcher.level=FINE option to verify that the external changes are not observed by the IDE. Attach the log file. Btw. I think there is an easy workaround: Tools/Options/Misc/Files and disable "autoscanning for sources". Then you can right click on a folder and use "refresh folder" action. Hi, I tried running IDE with -J-Dorg.netbeans.modules.masterfs.watcher.level=FINE but it doesn't work I don't see changes in in opened file when it was changed. I think the problem is how netbeans saves a file when it is changed. Because when a file is edited with some other software and saved netbeans sees that it was changed and updates it. I don't want to turn off autoscanning because this is exactly what i want. I'll try to explain by an example. Let's say I and my colleague are working on a same project. I'm editing index.php and my colleague is editing main.css. When my colleague saves a file I have to go to main.css file tab and then netbeans sees changes and saves it to remote server. If I don't open file main.css it can be never saved to remote server. And all edited content can be lost. When my colleague is working with other Editor I don't have to open main.css file to save changes to server netbeans sees the changes automatically and saves file to remote server. So i think the problem is how netbeans saves a file. You need to run with -J-Dorg.netbeans.modules.masterfs.watcher.level=FINE and attach IDE's log file, so we can compare what the IDE does on background with respect to actions you do. Also I am not sure if this is not some PHP related problem, so CCing Tomáš. (In reply to comment #4) > Also I am not sure if this is not some PHP related problem, so CCing Tomáš. I don't think so. (In reply to comment #0) > Our team is working on local network with same project. Very bad idea, you can easily overwrite changes done by someone else. Using any SCM is the proper way to go... Thanks. |