| Summary: | "out of sync with file system" error cannot be cleared by refresh or restart | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] DLTK | Reporter: | Tom Boutell <tom> | ||||
| Component: | Common | Assignee: | dltk.common-inbox <dltk.common-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | bokowski, gadi, knob, mjs, remy.suen, spektom | ||||
| Version: | 1.0 | ||||||
| Target Milestone: | 1.0RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tom Boutell
Did you try refreshing its parent folder? Did you try closing and reopening the project? Where is this resource physically located? Did you try deleting the project (without deleting its contents) and then recreating the project? If I cause this to happen by editing a .java file in Notepad I can see the 'out of synch' pseudo-editor but in my case hitting F5 or directly executing Refresh fixes the issue and the editor shows the new version of the file. Could you try this out with non-PHP files and let me know if you see similar issues? Moving to PDT. Does it help to close the file and reopen it? This helps with PHP files for me. Files of other types (e.g. JavaScript) do reload correctly if refreshed. Re-freshing & re-opening the file fixes this problem. (In reply to comment #5) > Re-freshing & re-opening the file fixes this problem. The message does not say that re-opening the file is necessary. (Nor should it be.) Refresh does not work still (File->Refresh or F5). Yet close/open the file fixes the problem, also clicking on the file shows a message asking you to reload the file, etc. There are small differences in different OS but as a whole the file can be recovered. Since the message advices you to do File -> Refresh (which does not work) I reopen the bug, but reduce severity from blocker to minor. [Sylvia Tancheva] First of all: Eclipse (PDT) is fantastic, but ... The issue of bug 262178 is really a pain for php-developers moving projects from local to web and back, e.g. different locations. Imagine having 4 to 5 files open in the workspace, you have to step from file to file an "refresh" and reopen each file. After having moved projects back from web, the procedure has to be repeated. The version 3.3.0 was fine, but after that version this bug was introduced and stayed until today. Created attachment 151180 [details]
patch
Here's a backport from JDT that fixes this issue (in DLTK).
Fixed in CVS (HEAD). |