I prefer to use Visual Studio as my single IDE and not switch to Visual Studio Code like a lot of my colleagues does for front end development. One thing that I truly miss is Visual Studio Code Organize imports
.
Is there a way to remove unused imports and declarations from Angular 2+?
I can achieve this in C# files for unused using
namespaces using default code cleanup
but I have not found anything that does it for .ts
and .tsx
files.
https://stackoverflow.com/a/62022243/3850405
Is there any good way to achieve this?