Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发这个项目,该项目使用大量保存为 html 文件的 php 文件。我无法真正更改文件类型,所以请不要这样做。
有没有办法可以配置 Aptana Studios 以识别 html 文件中的 php?
右键单击项目资源管理器中的文件。然后选择打开方式 -> 其他 ... -> PHP 源代码编辑器
或者,如果您想要更永久的解决方案。转到 Preferences -> General -> Editors -> File Associations,然后选择 *.html 并添加 PHP Source Editor 并将其设为默认值。