Eclipse/zend studio/pdt报Its use is discouraged in HTML5 documents的解决方法
1. Select html file in PHP Explorer.(if there is no html file, create new one)
2. Right-click > Properties > Web Content Settings.
3. Choose preferred doctype in Document type list.
4. Click OK and exit eclipse.
5. Open {your_workspace}/{your_project}/.settings/org.eclipse.wst.html.core.prefs with text editor.
6. Replace
document-type/{your_file_name}=...
by
document-type/
=...
(do not modify "")
7. Start eclipse.
阅读(4258) | 评论(0) | 转发(0) |