You should be able create a constant by selecting the number, clicking Introduce Field and checking initialize in Declaration, final, static.
-- Mark -----Original Message----- From: Calum Maclean [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 08:02a To: IntelliJ Feature List (E-mail) Subject: [Eap-features] Extract Field on an existing field assignment I've currently got code like int a = 372; I'd like to be able to extract the 372 into a constant. I don't think there's any way of doing this - I've tried a few, in particular Extract Field. Could/should this be another way to use Extract Field? Calum _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
