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

[Bug]: View not work in Ubuntu 24.04 #106

Open
shankhadevpadam opened this issue Dec 20, 2024 · 4 comments
Open

[Bug]: View not work in Ubuntu 24.04 #106

shankhadevpadam opened this issue Dec 20, 2024 · 4 comments
Assignees
Labels

Comments

@shankhadevpadam
Copy link

Extension Version

0.1.14

PHP Binary

Valet

Operating System

Linux

What happened?

Screenshot from 2024-12-20 20-14-55

Unable to navigate view file.

Mimimal Code Sample

No response

@mikebronner
Copy link

@shankhadevpadam have you tried putting the view in double quotes? I've seen this helps with other goto extensions that I have used in the past. Also, if you hover over the view file, what is the warning it gives (it has orange squiggly underline)? If the view doesn't exist in that specific location, it may also not be able to navigate to it.

The following works for me where the view file is located at /resources/views/my/nested/folder/index.blade.php:

    public function __invoke($logType)
    {
        return view('my.nested.folder.index', compact('logType'));
    }

@shankhadevpadam
Copy link
Author

shankhadevpadam commented Dec 28, 2024

@shankhadevpadam have you tried putting the view in double quotes? I've seen this helps with other goto extensions that I have used in the past. Also, if you hover over the view file, what is the warning it gives (it has orange squiggly underline)? If the view doesn't exist in that specific location, it may also not be able to navigate to it.

The following works for me where the view file is located at /resources/views/my/nested/folder/index.blade.php:

    public function __invoke($logType)
    {
        return view('my.nested.folder.index', compact('logType'));
    }

It does not work for me.

@joetannenbaum
Copy link
Collaborator

Just to confirm, you definitely have a view at resources/views/users/index.blade.php?

@shankhadevpadam
Copy link
Author

Yes definitely. I have view file in same location. But I used https://marketplace.visualstudio.com/items?itemName=codingyu.laravel-goto-view extension for work.

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

No branches or pull requests

3 participants