Eclipse Indigo PDT does not underline syntax errors

旧时模样 提交于 2019-12-05 05:56:21

I had same problem after Eclipse update to Indigo during Ubuntu update.

After installing PDT all ".php" source files opened in text editor (instead of php editor) which meant no syntax highlighting or auto-complete was applied (text was grey).

To fix -

Window -> Preferences -> General -> Editor -> File Associations

Entry for "*.php" had text editor listed first.

I deleted entry for "*.php" and re-created it, phpEditor appears first in editor association list.

Check if your sources are INCLUDED in PHP Build Path (Right click on project > Properties > Php Build Path)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!