nvlad / yii2support

Yii2 Support for PhpStorm / IntelliJ IDEA
https://plugins.jetbrains.com/idea/plugin/9388-yii2-support
Other
295 stars 54 forks source link

Failed to resolve view file with aliase #220

Closed malsatin closed 1 year ago

malsatin commented 5 years ago

What steps will reproduce the problem?

Define custom asias

[
    '@views' => '@frontend/views_new',
]

Try to render some element in layout

<?= $this->render('@views/layouts/elements/header') ?>

What is the expected result?

View path is resolved correctly. No error

What do you get instead?

image

Additional info

Q A
IDE Name PhpStorm
IDE Version PhpStorm 2019.1 Build #PS-191.6183.95
Plugin version v0.10.57.23
Yii App Template advanced