i've lost GoTo Blade Component (Cmd + click) Feature since the last upgrade

  resources/views Internal
  app/views Internal
  resources/templates Internal
  source Custom
  source/_components Custom

and here is my settings in the laravel plugin. previously they worked perfectly. but since the last update of phpstorm, when I type cmd + click hover a @component() or a @include() it does not find anything

please fix this

0

It still works even without plugin: http://recordit.co/ArhFmAjbqP
Maybe the indexes are broken? Please check if it's still there after caches invalidation.

0
Avatar
Permanently deleted user

invalidate cache and restart doesnt work. how do you setup your source or resource directories, in where config file do you make that.

it is strange, since my js srcipts take me to the respective files when cmd + click.

0

It's just a sample project I use for reproduction: https://github.com/bestmomo/laravel5-example

0
Avatar
Permanently deleted user

I have verified that with a clean installation of Laravel it works without problems, but when wanting to reproduce the same in a clean installation of Jigsaw that is with which I usually work, it does not work.

http://recordit.co/bcy9XZZHSc

and launch this message in red  'cannot find declaration to Go To'

Someone has some idea of what the settings should be for PhpStorm to index correctly ?

 

0

I'm getting similar results. Looks like navigations relies on some hardcoded names/patterns(?). Navigation in "views" directory works fine while the very same (content) files failing in a randomly-named directory: @include("home3") navigation doesn't work while "home2" does.

 

I believe it's worth reporting to our tracker for devs to look into: http://youtrack.jetbrains.com/issues/WI#newissue=yes

0
Avatar
Permanently deleted user

finally the solution was install an old version of laravel plugin,  when Support Laravel 5.4 blade component directive , still works fine

heres a demonstration

http://recordit.co/FXWZht3Tut

0

请先登录再写评论。