crane
crane copied to clipboard
Setting to include additional 3rd party dependencies (for code completion)
I have too many WordPress themes and plugins I sometimes maintain, I can't include source code of WordPress under each project. Currently I'm stuck with Eclipse PDT, because it has most complete intellisense.
I would like to have a setting like:
"php.include.path": "c:/dependencies/wordpress/;c:/dependencies/somethingelse/"
So I can have intellisense about all of WordPress's global functions.
If it were a setting I imagine I could set it in the workspace settings of each project, or globally.
I think I could benefit for having workspace setting which would append the entries to the global setting. But I can imagine not all projects would benefit from it. So someone needs to think about this case, what to do if there is global include setting and workspace include setting.
Hi, thanks for suggesting this as a feature!
We have something similar on the roadmap, but I can see this offering a lot of value.
I've added it to the roadmap for the 0.1.9 release, so stay tuned for this!