I’m just trying out PHP Storm for the first time, and added YiiStorm. PHP Storm says it’s getting the following error:
class with name "com.yiistorm.actions.YiiStormConfigAction" not found [Plugin: YiiStorm]: class with name "com.yiistorm.actions.YiiStormConfigAction" not found [Plugin: YiiStorm]
Any idea what’s causing this? I don’t want to be missing out on any goodies dot dot dot
I use the phpstorm 7.0 and I download YiiStorm 0.9.7b , but yiistorm don’t help me create new view, I use ctrl+left button click $this->render(‘test’,array()); ‘test’ view ,but can’t jump to view page
render() is defined in the framework code, not in ‘your’ project, under protected. Make sure to have the PhpStorm project include your framework directory.
You could have the app tree in parallel to the framework tree (in the same directory) and both (the directory both are located at) is the root of your project in PhpStorm. Obviously, there could be more ways to achieve this.
Well I’m not sure. Do you have code completion of other framework methods? (verify that this is indeed the case).
Maybe you need to define Yii framework folder as a ‘Resource Root’ (in the preferences -> project settings -> directories (IIRC)). Not sure what ‘external library’ means/is.
I don’t need to go to method declaration, I need to go to view file from “render” method. This topic is about YiiStorm plugin that implements such functionality. And it doesn’t work in my IDE. =)