I have my WordPress theme folder path setup like this:
define( 'theme_lib', get_template_directory() . '/inc');
I am using this in my functions.php:
require_once( theme_lib . '/setup.php');
PhpStorm does not resolve the actual path and gives warning that path not found.
It works at runtime but how should I get the IDE to recognise the include path?