I use "PHP Intelephense" to format Controller file and "Laravel Blade Formatter" for Blade file and I find it extremely uninteresting to switch between these formatters back and forth.
Is there any efficient way to switch between these two formatter?
CodePudding user response:
Go to VSCode settings JSON file settings.json
and do language specific settings
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"[blade]":{
"editor.defaultFormatter": "shufo.vscode-blade-formatter"
}