M
M
Michael2017-04-09 16:49:05
PHP
Michael, 2017-04-09 16:49:05

How to set up php intellisense for Visual Studio Code?

Good afternoon!
Trying to setup php intellisense in VS Code. It seems that I did everything according to the instructions, but the extension did not work.
Anyone with setup experience please share?
https://github.com/felixfbecker/vscode-php-intelli...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Ganzhurov, 2018-04-05
@ganjour

In the settings, you must specify the path to the PHP 7.xx executable file and disable the standard PHP IntelliSense. These three lines are enough to configure the plugin:

"php.executablePath": "D:/YandexDisk/OpenServer/modules/php/PHP-7/php.exe",
"php.validate.executablePath": "D:/YandexDisk/OpenServer/modules/php/PHP-7/php.exe",
"php.suggest.basic": false,

Replace the paths to php.exe with your own and don't forget to save the settings file..

H
highter, 2019-03-12
@highter

Try to arrange your projects in folders consisting of Latin letters and without spaces - and everything will work right away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question