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.
One of our users don't like use NetBeans, because editor can display wrong (old) content. Her typical scenario: launch test, open test report in IDE ==> editor displays old test report Today I see such problem in 100% cases: 1) Favorites tab displays real testbase on USA host 2) Open testfile file 3) Close file 4) Launch "echo xxxxxxxxxxxxxxx >> testfile" command 5) Open testfile file ==> old content and IDE doesn't refresh file 6) Close file 7) Open testfile file again ==> ok Also you can repeat 3)-7) steps again.
As I understand,
Is the file under version control? If yes, which one (I guess it's hg)?
Yes. Now I use Mercurial only.
Confirmed. I can reproduce this even without versioning and on fast host (everest), in the case I use internal terminal. If I use another window, then content is shown ok. I'm going to fix this via doing a special fast up-to-date check each time the file is loaded in editor. This check, in the case nothing changed, should take about 1 ping, so there should be no visual slowdown.
fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/bd5a46eab7e3 http://hg.netbeans.org/cnd-main/rev/6c3fe0162df0 http://hg.netbeans.org/cnd-main/rev/7860cf1080f6
Integrated into 'main-silver', will be available in build *201503130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3c855a3b6efc User: Vladimir Kvashin <vkvashin@netbeans.org> Log: Making manual fs_server testing more convenient: 1) help on request kinds; 2) allow using "0" as path length means that path does not contain spaces (#250840 - IDE can display old content in editor)
Additional fixes: http://hg.netbeans.org/cnd-main/rev/17b62f24ae8d http://hg.netbeans.org/cnd-main/rev/ca9f85621cbe
Integrated into 'main-silver', will be available in build *201503140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bd5a46eab7e3 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: refactoring (while fixing #250840 - IDE can display wrong (old) content in editor)