How I go to definitions of Laravel classes in visual studio code editor for windows?

Viewed 1727

I can't access the definition using ctrl+click. Even when I try using click+Go to definition it says no definition found.

Here I was trying to go to the main Statefulguard file by pressing F12

use Illuminate\Contracts\Auth\StatefulGuard;       

public function __construct(StatefulGuard $guard)    
{    
    $this->guard = $guard;    
}    

When I try  going to the definition

2 Answers
Related