Currently, I am working with PhpStorm 2016.1 and facing an issue with file autocomplete. The scenario is as follows:
@mycss
.style {color : red}
@base.html.twig
[...]
<link rel="stylesheet" href="/vendor/mycss.css" />
<!--HERE AUTOCOMPLETE OF style WORKS-->
{%block test%}{%endblock%}
@page.html.twig
{% extends "MyController::base.html.twig" %}
<!--HERE AUTOCOMPLETE OF style NOT WORKS-->
{%block test%}{%endblock%}
Any suggestions on how to resolve this issue and enable autocomplete for all files?
UPDATE
This problem does not seem to be related to TWIG. I do not add new styles in child templates.
The issue may be related to the use of symlinks (e.g. /main.css -> /vendor/css/main.css) which could be causing a problem (although the reason is unclear). For instance, when I type small- (foundation grid) and press ctrl + space to trigger code completion, the IDE appears to get stuck in a loop, the CPU usage spikes to 100%, and it continuously "loads" until a memory error is encountered...