Yes, perhaps we should allow inline for fields too.

P.S. Just as a trick, you may first encapsulate the field (that is, replace
all its usages with getXXX() calls), then change the body of the getter to
return the constant and then inline the getter. :-))

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Thomas Singer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 8:03 PM
Subject: [Eap-features] Inline constants


> Hello,
>
> I sometimes really need the 'Inline constants' feature.
>
> Example:
>
>    private static final String TITLE = "File compare";
>
>    ...
>    frame.setTitle(TITLE);
>    ...
>
> These simple things should be able with IDEA, too.
>
> Best regards
> Thomas Singer
>
>
> _______________________________________________
> 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

Reply via email to