GithubHelp home page GithubHelp logo

Comments (4)

abhyudayasrinet avatar abhyudayasrinet commented on September 24, 2024 2

I see. The new update does keep bombarding me with this popup that the extension failed.
image

after some time the autocompletions and import commands stop working as well, although they work for a when the vscode instance starts initially.

I am using laravel herd to use different PHP versions for different laravel projects and I changed the default PHP command to include herd i.e. herd php -r "{code}"

image

I tried downgrading to the previous version and that at least stops the popups from coming and keeps the extension functional.
I'll also try switching to the default extension settings

from vscode-laravel-extra-intellisense.

amir9480 avatar amir9480 commented on September 24, 2024

Hi @abhyudayasrinet

It's a new feature to shows an error when the Laravel Extra Intellisense fails to load your application data to provide autocomplete. Did you changed any default configuration of Laravel Extra Intellisense, it look like can not run PHP command to load data.

from vscode-laravel-extra-intellisense.

abhyudayasrinet avatar abhyudayasrinet commented on September 24, 2024

switching the command back to php -r "{code}" does seem to fix the problem, although I'm not sure if the correct PHP version is being used here. I assume it's picking the PHP executable on the system path which could be incorrect for some projects.
I'm using PHP 7.4 and PHP 8.3

from vscode-laravel-extra-intellisense.

amir9480 avatar amir9480 commented on September 24, 2024

@abhyudayasrinet
I guess the extension can not find the command, maybe using the absolute path of Herd (like /something/path/herd) may solve the issue.
Please check the command yourself in vs code's terminal like herd php -r "echo 'hello world';"

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.