idea-php-laravel-plugin
idea-php-laravel-plugin copied to clipboard
Route autocompletion not working if 'as' used in groups
If we're grouping routes and using 'as' and then give a name to a route, autocompletion not working. For example we have this route.
Route::group(['as' => 'admin.'], function () {
Route::post('/user', 'UserController@store')->name('user.store');
});
And then somewhere (in controller for example) we write
route('admin')
I expect that plugin will suggest me 'admin.user.store', but I can see only 'No suggestions' error.
#98