Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go to view quick jump not working #67

Open
murugappanrm opened this issue Feb 15, 2023 · 2 comments
Open

Go to view quick jump not working #67

murugappanrm opened this issue Feb 15, 2023 · 2 comments

Comments

@murugappanrm
Copy link

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.

@codingyu
Copy link
Owner

codingyu commented Feb 15, 2023

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

Hover
image

@murugappanrm
Copy link
Author

murugappanrm commented Feb 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants