How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?
问题 How do you add a PHP framework to code assist/completion in Eclipse PDT? And is it possible to have that framework added as default for all projects? 回答1: Generally speaking in Eclipse, you can add a library or framework to code assist/completion by: Going into Project > Properties Under PHP Include Path, pick the "Libaries" tab. Add an "external folder" with the path to where your framework is located. This can also be done on project creation. I'm not sure of a way to have it automatically