Home>

I am studying PHP on the web.
Edit with settings.json in Visual Studio Code
Added "php.validate.executablePath" and "php.validate.run".
How can I enable this setting?
I am using winndows10, Notepad ++, Xammp.
I am going to change the editor to Visual Studio Code.
Please.

{
    "php.validate.executablePath": "c: \\ xammp \\ php \\ php.exe",
    "php.validate.run": "onType",
    "workbench.startupEditor": "newUntitledFile",
    "files.autoSave": "afterDelay",
    "editor.tabSize": 2,
    "editor.wordWrap": "on",
    "editor.fontFamily": "Ricty Diminished"
}
php
  • Answer # 1

    Edit with settings.json in Visual Studio Code
    Added "php.validate.executablePath" and "php.validate.run" in
    I don't know how to save it, but I posted it, but it looks like it's set up somehow.
    I'm not sure.

    https://qiita.com/nao_satsuki/items/8f83b54052e09b9596f7

    It seems to be set with reference to the above net.