3

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

1
  • Consider posting a feature request at JetBrain's website. For v8.0 they added a bunch of WordPress functionality. – MikeSchinkel May 20 '14 at 22:27
2

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, privacy policy and cookie policy

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