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.
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.