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...

  • Consider posting a feature request at JetBrain's website. For v8.0 they added a bunch of WordPress functionality. May 20, 2014 at 22:27

1 Answer 1


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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.