Cannot see PHP Content Type in Eclipse preferences?

随声附和 提交于 2019-12-10 08:47:56

问题


I have a new eclipse Juno installation with PDT. I imported my preferences and everything seems to be working normal except the in the content type section I do not see PHP Content Type. I see "%content-typ.name0" for the php content type; as seen in the screen shot. What is wrong with it?


回答1:


? It is a bug of pdt.
"%content-type.name.0" is a variable name for a label, and the label consists in plugin.properties in eclipse/plugins/org.eclipse.php.core_3.1.1.201209101312.jar
>content-type.name.0 = PHP Content Type

You can edit /META-INF/MANIFEST.MF in org.eclipse.php.core_3.1.1.201209101312.jar, insert "Bundle-Localization: plugin".(do not append it after blank line) And then start eclipse with -clean option.



来源:https://stackoverflow.com/questions/13297314/cannot-see-php-content-type-in-eclipse-preferences

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