Murz Will be good to have an option to auto remove unused use lines on file save event, to prevent phpcs errors like this: --------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 11 | WARNING | [x] Unused use statement --------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------
JakubMisek Murz we have implemented support for the setting "editor.codeActionsOnSave": { "source.organizeImports": true } preparing pre-release 1.31.12861 now ...
MiloslavBeno Hi Murz, Thank you for the suggestion. It appears there is already a configuration in VSCode we could use to support this "[php]": { "editor.codeActionsOnSave": { "source.organizeImports": true } } it's a good idea to support this