Zend studio for eclipse cannot open files
Sometimes a file in the project cannot be opened:
Cocould not open the editor: Editor cocould not be initialized.
.
Cause: I heard that this is caused by external modification of the file. The reference statement is as follows:
Cocould not open the editor: Editor cocould not be initialized when opening files. Huh? If you look at the Java exception, available as error details, it only means the resource or file have been changed from outside of Zend studio. To open it you need to refresh the file through f5.
When I use Zend studio, I also use editplus or source insight to view or edit the PHP file, so I agree with the statement about the cause of the problem.
Problem Analysis:
In my experience, it seems that when the project is started, the files edited with the non-Zend studio for eclipse editor are not refreshed, and the project files are not initialized effectively, in addition to the above methods, I recently used the following methods:
Solution 1: (recommended)
First, turn off all opened labels, select the wrong project folder, and then use F5 to refresh the project file. Basically, the above problem can be solved!
Solution 2: copy the files that cannot be opened, delete them, and copy them back. Restart zendstudio for eclipse.
Solution 3: If the above two methods do not work, provide an ultimate solution to ensure that they are absolutely feasible:
Delete the project (but do not delete the content in the project folder) to delete the project folder. settings ,. projects ,. when selecting project contents, remove the check box before the use default option and select the previous project folder> finish> In the displayed dialog box, select the first option (that is, directly create a folder in the original project folder, instead of creating a folder in the original project folder) "OK.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/onsrs/archive/2009/06/19/4282695.aspx