Force Content-Type on files with no Extension in EclipsePDT?

后端 未结 2 702
渐次进展
渐次进展 2021-01-20 09:45

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

2条回答
  •  渐次进展
    2021-01-20 10:01

    A workaround suggested by Swooper (in his case for perl) here suggests to create links to the files with extensions and edit the files in Eclipse through those links.

    Not ideal and maybe hard if you have a lot of extensionless files, but it will work.

提交回复
热议问题