Remove unused imports and declaration in visual studio code

 Since VSCode v.1.24 and TypeScript v.2.9 Organize Imports was added:

For Mac: option+Shift+O

For Win: Alt+Shift+O

Comments

Popular posts from this blog

Your build is currently configured to use incompatible Java 21.0.3 and Gradle 8.2.1. Cannot sync the project.

Error in Android Migration Gradle 7.5 to 8.5 - java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null

How to clean up the unused imports, variable and function from Typescript