Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99093

VSCode PhpStorm formatter fails

$
0
0

I have installed PhpStorm formatter in VSCode (latest update) and we have PhpStorm installed on the computer I work with. I went to preferences/settings and I set the "Editor:default formatter" to PhpStorm formatter in VSCode.

My VSCode settings.json looks like this:

{
    "window.zoomLevel": 2,
    "workbench.colorTheme": "Quiet Light",
    "workbench.iconTheme": "vscode-simpler-icons",
    "workbench.colorCustomizations": {
        "editor.background": "#f3f3f3",
        "sideBar.background": "#e9e9e9"
    },
    "workbench.statusBar.visible": true,
    "files.autoSave": "afterDelay",
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "emmet.triggerExpansionOnTab": true,
    "blade.format.enable": true,
    "editor.defaultFormatter": "animus-coop.vscode-phpstorm-formatter",
    "phpstormFormatter.ideBinPath": "C:\\Program Files\\JetBrains\\PhpStorm 2019.3.2\\bin",
    "editor.fontSize": 15
}

But when I push Alt+Shift+F to format the code in VSCode, an error pops up saying:

Failed to format this document.

Any suggestions?


Viewing all articles
Browse latest Browse all 99093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>