flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
152 stars 72 forks source link

Path to PHP #472

Open Havouza15 opened 11 months ago

Havouza15 commented 11 months ago

Hi! I have installed it on a Linux Mint machine.. I dont know how to find the path to the php executable that is needed Can anybody help

francoism90 commented 11 months ago

@Havouza15 This the contents of my settings.json:

"LaravelExtraIntellisense.phpCommand": "/usr/lib/sdk/php82/bin/php -r \"{code}\"",
"php.executablePath": "/usr/lib/sdk/php82/bin/php",
"php.validate.executablePath": "/usr/lib/sdk/php82/bin/php",

See https://github.com/flathub/org.freedesktop.Sdk.Extension.php82 for details.