3 ms·
Webstorm capabilities were still very weak compared to Phpstorm last time I tried. My gf works in js with webstorm and was amazed by what I whas doing in php.
by spdionis 11y ago
Webstorm capabilities were still very weak compared to Phpstorm last time I tried.
My gf works in js with webstorm and was amazed by what I whas doing in php.
That said php is much more static than js.
- kyriakos 11y agoBeen using PHPStorm for years and still when I hit find declaration key combination I'm still not sure if it will actually find it or tell me it can't. I came to accept this as a limitation of using a dynamic language. On the other hand I'm sometimes surprised by the things it can figure out from my code.
- spdionis 11y agoIt always finds it for me, but surely mostly because my project is structured in an appropriate way
- kyriakos 11y agounfortunately some of us have to use... wordpress... :(
- spdionis 11y agothere's no integration? I have awesome integration wih symfony.
- kyriakos 11y agoWith wordpress in order to add a hook when building a plugin you need to specify the class name and method to call in an array with 2 elements. PHPStorm can't really peer into it. Then I also use Laravel's Eloquent outside Laravel, models don't get auto complete in that case either. e.g. if you do a $user = User::find(1); PHPStorm doesn't understand that $user is an instance of User class unless you explicitly tell it. Apparently if you use the whole Laravel framework there is a CLI utility that adds annotations to you and fixes this issue.
- spdionis 11y agoYes, that happens, and the occasional annotation is bit annoying yet very effective.