Haehnchen / idea-php-laravel-plugin

Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
MIT License
572 stars 108 forks source link

Loss of links from web.php file #260

Open GUILLEMAUT-Pascal opened 4 years ago

GUILLEMAUT-Pascal commented 4 years ago

With PhpStorm, after a while that I have not encrypted we lose the links of the web.php file. You can no longer click on it and the get / post turns orange instead of yellow. This is penalizing because often to debug you start from the web file. Cordially.

nicolus commented 3 years ago

I have this issue too (on phpstorm 2020.x), it is very annoying and I can't reproduce it consistently, it seems pretty random.

This feature used to work fine, so I suspect it's a compatibility issue with the newer versions of phpStorm. @Haehnchen , is this project still maintained ?

hcancelik commented 3 years ago

@nicolus @GUILLEMAUT-Pascal

How do you define your routes?

If you defined them like below (instead of Route::get('/register', 'RegisteredUserController@create')) they work all the time.

...
use Illuminate\Support\Facades\Route;

Route::get('/register', [RegisteredUserController::class, 'create']);
...