Giter Club home page Giter Club logo

Comments (7)

amir9480 avatar amir9480 commented on June 30, 2024

Hi @tbhaxor
There is a file watcher for every auto-complete item provider.
Could you please check it out given patterns work for you?

https://github.com/amir9480/vscode-laravel-extra-intellisense/blob/master/src/RouteProvider.ts#L20

You may check data is reloaded from the output tab and Laravel Extra Intellisense from dropdown.

from vscode-laravel-extra-intellisense.

tbhaxor avatar tbhaxor commented on June 30, 2024

Hi, I am using it through WSL and tested that changing, renaming and deleting file is not working for me. Do you have any other way to test it?

from vscode-laravel-extra-intellisense.

amir9480 avatar amir9480 commented on June 30, 2024

@tbhaxor
I using WSL too. I opened my projects via the following extension and everything works fine.

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl

Make sure you are not opening the alias directory inside Windows Explorer.
Try opening a WSL terminal, navigate to your project directory, and use code . command to open your directory.

from vscode-laravel-extra-intellisense.

tbhaxor avatar tbhaxor commented on June 30, 2024

Strange, I tested on Linux and it is working but not through WSL. I will setup a project from scratch and test again.

from vscode-laravel-extra-intellisense.

amir9480 avatar amir9480 commented on June 30, 2024

@tbhaxor
I'm not sure but I guess you are opening files in Host OS (Windows). Your vscode opening a directory like this:
\\wsl.localhost\Ubuntu\\home\yourusername\proejct
Which is not the right way to develop a WSL project.

You should use remote development instead of using the WSL extension or using dev containers.

from vscode-laravel-extra-intellisense.

tbhaxor avatar tbhaxor commented on June 30, 2024

Nope, not working.

Steps to reproduce

  1. Create a fresh laravel project
  2. Login to wsl wsl
  3. Navigate to code repo cd source/repos/laravel-intellisense-test
  4. Open the vscode from wsl session code .
  5. Make changes to the routes/web.php (add a route with name) or create a new view file ./artisan make:view testing

Now look at the logs, it will only the logs during starting, and won't show any update logs related to routes.

image

from vscode-laravel-extra-intellisense.

tbhaxor avatar tbhaxor commented on June 30, 2024

It is working now accidently.

from vscode-laravel-extra-intellisense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.