It is currently 25 Apr 2024, 23:11
   
Text Size

Unused imports (Netbeans)

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Unused imports (Netbeans)

Postby LevelX » 23 Jun 2015, 09:33

I noticed today, that there is a setting in netbeans to remove unused imports and to sort the imports automatically on save of the source code.

Works very well after my test.
So if you use Netbeans I recommend to switch theses options to on!

UnusedImports.jpg
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Unused imports (Netbeans)

Postby BetaSteward » 24 Jun 2015, 01:17

Great find! I use NetBeans and I'm always hitting Alt-Enter on an unused import and selecting "Remove all unused imports". Now I don't have to worry about that.
BetaSteward
DEVELOPER
 
Posts: 129
Joined: 28 Mar 2010, 13:15
Has thanked: 6 times
Been thanked: 29 times


Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 10 guests


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 10 guests

Login Form