Eclipse syntax highlighting on extensionless files?

前端 未结 1 1249
陌清茗
陌清茗 2021-01-15 16:50

I have a perl CGI script that needs to have a specific extensionless filename to run correctly from the software that uses it. I\'m using Eclipse 3.7.0 on Ubuntu 11.04 Linux

相关标签:
1条回答
  • 2021-01-15 17:30

    Found the solution to this, thought I might throw it in here if someone has a similar problem later and runs into this.

    What I did was create a link to the script, and gave the link a .pl extension. This happily caused Eclipse to parse the syntax correctly. Problem solved.

    0 讨论(0)
提交回复
热议问题