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]: On Windows Blade Jump to Blade - Path Not Found #237

Open
shahriarrahat opened this issue Feb 5, 2025 · 3 comments
Open

[Bug]: On Windows Blade Jump to Blade - Path Not Found #237

shahriarrahat opened this issue Feb 5, 2025 · 3 comments
Assignees
Labels

Comments

@shahriarrahat
Copy link

Extension Version

0.1.18

PHP Binary

Other

Operating System

Windows

What happened?

Blade Paths are not being found on windws. It's showing if I want to create a new file.

Image

Mimimal Code Sample

@joetannenbaum
Copy link
Collaborator

I'm having trouble re-creating this, a couple of questions to clarify:

  • Is this a standard Laravel project structure?
  • Anything special about your setup?
  • Is it showing yellow warning squiggles for all of your blade files?
  • Is this when you create a file from a warning (quickfix) or is this happening when clicking through to any blade file?
  • Are any blade files showing up as links?

@shahriarrahat
Copy link
Author

shahriarrahat commented Feb 11, 2025

Here is the clarification of your questions:

  • Yes. This is a standard Laravel Project Structure.

  • Nothing fancy. Just a couple of extensions and a theme. Sharing a screenshot of extensions being used.
    Image
    Image

  • No, they don't have any squiggles for the blade files. Sharing screenshots. If you click on the path showing on 2nd screenshot, then this error occurs. Also ctrl+click sometimes gives the error too. I have opened another issue earlier which was showing squiggles for assets. Issue link: [Bug]: Asset Location Not Being Found, though it's working perfectly in browser #220
    Image
    Image
    Image

  • This is happening when I am clicking through to any blade file. I am not getting quickfix warning for this error.
    Image

  • Yes, all of them are showing up as links.

I'm having trouble re-creating this, a couple of questions to clarify:

  • Is this a standard Laravel project structure?
  • Anything special about your setup?
  • Is it showing yellow warning squiggles for all of your blade files?
  • Is this when you create a file from a warning (quickfix) or is this happening when clicking through to any blade file?
  • Are any blade files showing up as links?

@shahriarrahat
Copy link
Author

Just found another thing. I have just made a x-component with command "php artisan make:component AddCustomerModal". Two files are created but from the App\View\Components the return view blade file is not being clicked through. It's giving the following error (both clicking on the file link or ctrl+click):

Image

Image

When clicking on create file, it's throwing error like this -

Image

But the blade is already there -

Image

Note:
ctrl+click gives you the option to create that file. But the link shown when hovering over the blade path in return view statement, it doesn't show you the "Create File" option.

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

2 participants