Code completion for WordPress
Hi,
I'm trying to include the WordPress code base, so it will auto complete or give suggestions for classes of WordPress. But so far luck.
Did anyone get PhpStorm to include the WordPress code base in a project?
Please sign in to leave a comment.
I use phpStorm all the time for WordPress projects, almost daily.
Which classes/methods are you having issues with?
I extended wpdb() in my projects like this.
https://gist.github.com/1105126
Now when I work with WP queries they look like this
The $post-> instance now has all wpdb properties avalible.
ID, post_title, etc......
This can be done with any of the others also.
Jeff,
Thanks for sharing!
where do you but that snippet...in the functions.php?