Closed Jezda1337 closed 1 year ago
Hey! I've just copied this autocmd into my config and it works fine. Can you provide more context? Maybe minimal repro steps?
And btw. TypescriptFixAll
and TypescriptRemoveUnused
are not currently supported by the plugin.
We have TSToolsRemoveUnusedImports
but it only removes unused imports - not every unused "thing" - as in the TLS.
Also "TSToolsOrganizeImports" runs TSToolsSortImports
and TSToolsRemoveUnusedImports
under the hood so you don't need to call all three of them
Hey @KostkaBrukowa, thanks for the answer, after I remove TSToolsSortImports
and TSToolsRemoveUnusedImports
from the code, everything works now. I guess calling all 3 doesn't work but calling only TSToolsOrganizeImports
do the thing.
Any idea why this commands doesn't work? 🤔 when I run them manually they work, but like this nah