vscode-phpfmt
vscode-phpfmt copied to clipboard
Is it possible to disable deleting namespaces if I don't use them Yet
Hey there,
Thanks for making this amazing plug-in 👍 . I wondered if it was possible not to delete the namespaces if they are not being used yet. I often create Controllers (by copying) from other controllers. These have namespaces that will be used later (but not immediately). Now it is a bit unfortunate that these will be deleted if I format my code, haha :)
Add in setting.json, "phpfmt.exclude": [ "OrderAndRemoveUseClauses" ], And it's done.