问题
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