Perfect solution: cocould not open the editor: Editor cocould not be initialized

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.