Force Content-Type for files without 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 do not have an extension. Our project contains many php / w50> -style php scripts that do not have a file extension (for any reason). This does not lead to code completion, highlighting, etc. For these specific files. He sees them as plain text.

Is there a way to mark these specific files as PHP for using PDT functions?

+3
source share
2 answers

If I remember correctly, you could do something like this:

  • "" - ,
  • Open with > Other...
  • PHP Editor

, , , , .

, Eclipse PDT , , ...

0

, Swooper ( perl) , Eclipse .

, , , , .

0

Source: https://habr.com/ru/post/1727426/


All Articles