Missing templates using PHPStorm when using Craft 3 Following code show a warning "template not found" in PHPStorm:

{% extends '_layout' %}.

When adding .twig this warning dissapears, but I'd like to keep extends and includes filetype agnostic.

What I've tried so far:


Installing the Symfony plugin and enabling Twig support.
Adding the templates folder as a Twig directory, as described here.
Invalidate PHPStorm cache and restart.


Is there a way to fix this? Or should I use {% extends '_layout.twig' %}?

Using PHPStorm 2019.1
Was probably a bug in PHPStorm 2019.1.

Currently using 2019.1.2 and the warning disappeared.