Eclipse shortcut to remove all unused imports in Java file
How to remove all unused imports in Eclipse
Eclipse IDE gives warning "The import XXX is never used" whenever it detect unused import in Java source file and shows a yellow underline. Though unused import in Java file does not create any harm, it's unnecessary increase length and size of Java source file and if you have too many unused imports in your Java source file, those yellow underline and Eclipse warning affect readability and working. In our last post on Eclipse, we have seen dome Java debugging tips on Eclipse and in this post we will see Eclipse shortcut to remove all unused imports in Eclipse. There are many options to tackle this problem e.g. you can collapse import section of code in Eclipse or you can altogether remove all unused imports from Java file. Since Eclipse is favorite IDE of many Java programmer, who love to do things fast in shortcuts, I will also share Eclipse shortcut to remove unused imports from Java program in this article. This is one of many Eclipse shortcuts which we have discussed in our post Top 30 Eclipse keyboard shortcut for Java programmer. Let's see How to remove all unused imports from Java file in Eclipse IDE.
Komentar
Posting Komentar
-Berkomentarlah yang baik dan rapi.
-Menggunakan link aktif akan dihapus.