You can use Inspect Code feature to find out what public/protected/package local fields are not used.
-- Best regards, Maxim Shafirov JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" > > How would you go about of detecting none use of a variable that is either > public, protected or package? > > Ok, package could be done quite easily by parsing all the classes that are > within the same package, but protected and public? it's impossible to > determine ... > > Which makes me think: IDEA has a cool feature indicator (green, yellow, red) > that is accesible when the source file is open ... can't we have that > feature available in the project view of all files? > > a++ Cedric > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Alain Ravet > Sent: lundi 25 mars 2002 13:51 > To: [EMAIL PROTECTED] > Subject: [Eap-list] only private access is detected as unused > > > In the code below, only the 1st field > private int val1 ; > is detected - and coloured - as "never used". > > Alain Ravet > > public class TK > { > private int val1 ; > protected int val2 ; > int val3 ; > public int val4 ; > > } > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
