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.
如何在 Eclipse PDT 中添加 PHP 框架来代码辅助/完成?
是否可以将该框架添加为所有项目的默认框架?
一般来说,在 Eclipse 中,您可以通过以下方式将库或框架添加到代码辅助/完成:
这也可以在项目创建时完成。我不确定以这种方式自动附加库的方法。
该功能本身比这更灵活一些,允许您执行诸如为数据库连接设置变量之类的操作,而不必将冗长的配置文件复制到本地安装。