简体   繁体   中英

Issue getting code assist for *.cgi files have PHP code

I am currently working on a project which has files with .cgi extensions, but inside they have PHP code. I am not able to get code assist. I am using eclipse PDT as IDE.

I renamed one of the .cgi file to .php at which point I am able to get code assist.

How can I get code assist for PHP inside of a .cgi file?

Maybe php is not associated to .cgi? check General > Editors > File Associations in settings look for PHP and add new extension there.

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-51.xhtml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM