nvlad / yii2support

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

Custom directory causes view file not found #213

Open Choate opened 5 years ago

Choate commented 5 years ago

What steps will reproduce the problem?

Use composer to download yii2 core code composer require yiisoft/yii2 Create app directory Create a web directory under the app directory Create a frontend directory under the web directory Create views and controllers directory under the frontend directory Create a SiteController file and make the render view file index.php But the plugin prompt can't find the template file.

View file for "index" not found in "/app/web/frontend/views/site/index.php"

What is the expected result?

Find the view file normally

What do you get instead?

Additional info

Q A
IDE Name PhpStorm
IDE Version 2018.1
Plugin version 0.10.56.22
Yii App Template customize
Choate commented 5 years ago

The view file can be found normally using version 0.55.33.7

xstreamka commented 3 years ago

У меня тоже самое... как от этого избавиться?

image

nvlad commented 3 years ago

У меня тоже самое... как от этого избавиться?

image

1) сбросить кэш 2) настроить корневую папку проекта

может ещё что-то но надо видеть уже проект

xstreamka commented 3 years ago
  1. сбросить кэш
  2. настроить корневую папку проекта

может ещё что-то но надо видеть уже проект

Благодарю за быструю обратную связь. Проект обычный, yii2 из коробки. Папка настроена конечно: image Кеш сбросил, пока полет нормальный, спасибо.

theonedemon commented 1 year ago

та же проблема, если откатиться до версии 0.10.58.37 то файлы представлений находятся ( шаблон стандартный, проблема в modules//{controllers,views}