laravel-goto-view icon indicating copy to clipboard operation
laravel-goto-view copied to clipboard

Go to view quick jump not working

Open murugappanrm opened this issue 2 years ago • 2 comments

In my controller, i define the return as:

return view('welcome');

When i ctrl + click or alt + click on the "welcome", it does not jump to the view file. All it does is position the cursor.

murugappanrm avatar Feb 15 '23 04:02 murugappanrm

If the view name string is not underlined, it cannot jump. Confirm configuration: image

Hover image

codingyu avatar Feb 15 '23 04:02 codingyu

The setting is correct. There is no underline for the link. Same problem for both Laravel 8 and 9. After some testing, i found that the extension did not work if the app was located in a sub-folder. E.g Does not work if the app laravelapp was located laravel->laravelapp. After loading vscode in the laravelapp folder, it worked fine.

I found another extension "ctf0.laravel-goto-view" which stated that it was forked from your extension. This extension works better in that it provides additional feature to create the view if it does not exist.

murugappanrm avatar Feb 15 '23 10:02 murugappanrm