When assigning a string to a GUI element (text, tooltip etc.) IDEA offers two choices - a String or a Resource Bundle for localized text. I would like to see a third option (radiobutton) - a String field variable from a class within the project.
Background: I localize all String variables via XML during application initialization and store the localized Strings via reflection in a placeholder class. This is much more reliable than using properties bundles, because I can detect uninitialized and deprecated fields at runtime and editing XML is more pleasant than poking around in properties files. It would be preferrable to enter the String variable with standard code completion (like the expression evaluation in the debugger). In my case it would look something like:
Thanks and Regards,