suggestion to improve working with files

it would be nice if WebIDE understands defining some variable or const as a path to directory

define("LIB_ROOT", realpath(dirname(__FILE__) . "/../lib/") . DIRECTORY_SEPARATOR);



and then use it in resolving files, that are being include across project, like:

require_once(LIB_ROOT . "/controller/view_dispatcher.php");

0

Work in progress. We have bunch of different tickets on includes in tracker, specifically http://youtrack.jetbrains.net/issue/WI-178 for this one.

0

I must also note that this problem does not affect code editing/completion/navigation etc. - they are done by means of analyzing all actual source code.

0

请先登录再写评论。