简体   繁体   中英

Get Aptana to recognize php if it is saved as an html file

I'm working on this project that uses a lot of php files saved as html files. I can't really change the filetypes so please don't suggest that. 在此处输入图片说明

Is there a way that I can configure Aptana Studios to recognize php in html files?

Right click the file in the Project Explorer. Then choose Open With -> Other ... -> PHP Source Editor

Or if you want a more permanent solution. Go to Preferences -> General -> Editors -> File Associations, then select *.html and add the PHP Source Editor and make it the default.

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