S
S
sokollondon2018-09-21 15:17:14
Yii
sokollondon, 2018-09-21 15:17:14

Yii2 Support plugin in PhpStorm - how to create a view?

There is a code: What needs to be clicked so that the plugin creates a view file
return $this->render('form2');
form2.php

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sokollondon, 2018-12-05
@sokollondon

5c07b7aa63ad3214827640.png
The plugin will automatically create a view file with variables in phpDoc
If there is no such hint, then there are problems in the Inspections settings. Settings are reset to default here: Settings | editor | Inspections -- Profile -- Restore Defaults

M
Maxim Timofeev, 2018-09-21
@webinar

right-click on the folder in which you want to create, select "create php file" in the menu, click, enter the file name, click "ok"
Everything is exactly the same as without the plugin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question