Quramy / tsuquyomi

A Vim plugin for TypeScript

Home Page:http://www.vim.org/scripts/script.php?script_id=5151

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Organize imports

andraaspar opened this issue · comments

Let me first say that this project is awesome. Huge thanks for it!

Since TSLint has deprecated the no-unused-variable rule (as suggested in #105), there is no way to remove all unused imports automatically. Can we maybe have a :TsuOrganizeImports like VS Code does it? Or maybe just a :TsuRemoveUnusedImports?

I think TSServer already has a command for organizing imports called OrganizeImports which is being used by other plugins like nvim-typescript and YouCompleteMe. I guess it could be added for this plugin as well.