Force Content-Type on files with no Extension in EclipsePDT?
问题 I use Eclipse-PDT to work on my PHP projects and find it inconvenient when Eclipse does not recognize my php files that have no extension. Our project contains many cli/bash-style php scripts that have no file-extension (for whatever reason). This results in no code-completion, highlighting, etc for these particular files. It treats them as plain-text. Is there a way I can mark these particular files as PHP to use the PDT features? 回答1: If I remember correctly, you might be able to do