Forcing a project to use Wordpress settings

When I open a project from the wordpress folder's root, I am given the option to load Wordpress configurations in Phpstorm.

When I open the plugin folder, I am not given this option. I lose out on wordpress function autocompletes and argument prefixing.

How can I force a project to use Wordpress configurations in Phpstorm 2019.1 for Lubuntu 18.04?

0

Hi there,

Check "Settings (Preferences on macOS) | Languages & Frameworks | PHP | Frameworks --> WordPress"

Also check https://www.jetbrains.com/help/phpstorm/using-wordpress-content-management-system.html

0

请先登录再写评论。