I have a copy of WordPress on my local system. If I make my content root the base of the wordpress install (e.g. /wordpress/) it recognizes WordPress functions, etc.
But I want to work on a single theme and I don't need the entire WordPress install to work on that. When I change the content root from /wordpress/ to /wordpress/wp-content/themes/name-of-theme/ it stops recognizing WordPress functions, etc.
I have gone into Preferences-->Languages & Frameworks --> PHP --> WordPress and set the WordPress installation path to the base of the WordPress install (/wordpress/). I have also added as the WordPress base as an include path in Preferences-->Languages & Frameworks --> PHP, yet it still doesn't recognize the WordPress function calls.
What am I missing?