Making Eclipse view different file extensions as PHP

前端 未结 4 1483
离开以前
离开以前 2021-01-03 19:29

I have several file extensions, like .module, that I would like to be understood by Eclipse to be PHP - so I get the same syntax highlighting, code completion,

4条回答
  •  自闭症患者
    2021-01-03 19:42

    Head to Window -> Preferences. Drill down to General -> Editors -> File Associations. From here you can add your extensions (e.g., *.module) and associate them with your preferred PHP editor.

    Then restart Eclipse for the change to take effect.

提交回复
热议问题