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");

2 comments
Comment actions Permalink

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
Comment actions Permalink

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

Please sign in to leave a comment.