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 as my IDE, and it's not highlighting syntax on the file nor using the limited autocomplete features (like adding a second closing tag for things like quotes and various brackets). Right click> properties on the file reveals that the OS seems to know it's a perl script, but Eclipse evidently does not. Can I somehow tell Eclipse to use the perl syntax highlighter for all extensionless files? Or, failing that, for this specific file?
相关问题
- Why doesn't php sleep work in the windows-subs
- Eclipse and Mylyn : how to disable grey files in t
- Installing Pydev for Eclipse throws error
- Error building gcc 4.8.3 from source: libstdc++.so
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- 使用Webstorm打开刚下载的jquery为什么会有报错
- selenium+eclipse 打开网页时报错
- 为什么nfs在不同版本的Linux下安装的文件都不一样
- Eclipse failing to open
- Eclipse how can I indent C++ preprocessor macros
- Why is FindBugs ignoring my check for null?
- Eclipse cleanup - what are the “.index” files - ca
- Eclipse plugin to find out unused methods in a cla
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.