Reputation: 81
Hello i am newbie on symfony . - trying to find definition of AbstractController without go on go FrameworkBundle\Controller\AbstractController by go to definition Shift+Maj+click but doesnt work and i think because vs code doesn't detect symfony language and trying another way by install new extension but is still the same error
detail error :
spawn /usr/bin/php ENOENT error
Upvotes: 5
Views: 18700
Reputation: 161
You have Symfony for VSCode extension installed, and its default path for php.exe is /usr/bin/php. Change it by adding this line in settings.json:
"symfony-vscode.phpExecutablePath": "C:\\xampp\\php\\php.exe"
and replace path to where your php.exe file is.
Upvotes: 14