Documentation for IDE's

I'm using IntelliJ but this question could apply to PhpStorm, Visual Studio, etc... Is there a good way to make the IDE aware of the Javascript functions that WordPress provides? Are there any Javascript stubs available like these Google Maps stubs?

I'd like to have auto-completion available, parameter info, etc...

Topic ide Wordpress javascript

Category Web


One possible solution is to make the WordPress source code available to the IDE by adding it's path to the project. IntelliJ reads the Javascript functions available.

This is not a pretty solution though (I'd like someone to be able to load the project on their machine and have this work).

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.