code completion/inspection for templates


I have my templates in a subfolder of my project (projectroot/tmpl).The templating code lives inside index.php in teh projectroot directory.
When I need to insert a resource (<img src="^caret"> I should be able to just press CTRL SPACE -> but of course IDEA starts in projectroot/tmpl instead of projectroot.

How can I tell IDEA where to look?

Please sign in to leave a comment.