0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Visual Studio Code settings.jsonファイルでPathの指定が上手くいかなかったとき

Posted at

問題

Visual Studio Codeでphpを使おうとしたところPathの指定をしろと言われたのでsettings.jsonファイル内にパスを入力したが、エラーが解消されない。

解決策

編集前

settings.json
{
    "python.pythonPath": "(パス)\\pythonw.exe"

編集後("," と "php.valiadate.executablePath: php.exeのパス"を追加

settings.json
{
    "python.pythonPath": "(パス)\\pythonw.exe",
    "php.valiadate.executablePath": "(パス)\\php-7.4.0-Win32-vc15-x64\\php.exe"
}

","で区切っていなかったためうまく読み込めていなかった模様

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?