soderlind / vscode-phpcbf

PHP Code Beautifier and Fixer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=persoderlind.vscode-phpcbf
GNU General Public License v3.0
28 stars 10 forks source link

Use WSL (bash) to execute command #28

Open eduardoarandah opened 5 years ago

eduardoarandah commented 5 years ago

Hey!

Wonder if in windows it would be possible to execute phpcbf via windows subsystem for linux (bash)

As you can see, its only a matter of sending the command via

bash -c "command here"

image

Why?

Well, most build systems work better on WSL (is an ubuntu system on top of windows)