It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.
It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.
Any idea if this inspection also triggers on the .form files used by the GUI builder (which was sadly, grosely, neglected compleately in this release).
It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.
--Dave Griffith
How can i "externalize strings" ? Can i see the values of my externalized strings directly in the editor window ?
It's an inspection, "Hardcoded Strings", under "Internationalization Issues". The fix for it places the string in a resource bundle. Haven't used it my self, as none of my work needs i18n.
--Dave Griffith
Dave Griffith wrote:
Any idea if this inspection also triggers on the .form files used by the
GUI builder (which was sadly, grosely, neglected compleately in this
release).
Dave Griffith schrieb:
How can i "externalize strings" ?
Can i see the values of my externalized strings directly in the editor
window ?
mfg
Carsten
The ones in the (default) English, the German or the Russian locale?
Tom
Thomas Singer schrieb:
>> Can i see the values of my externalized strings directly in the editor
>> window ?
The one i define in the settings.
This is how Eclipse works.
mfg
Carsten
Enable "Hard coded string literal inspection" and use quick fix "I18nize"
quickfix to place the string literal in properties file.
Yes you can. Press Ctrl-shift-I (Show implementations) on the I18nized
string literal.
>
>
--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"
Alexey Kudravtsev (JetBrains) schrieb:
>>How can i "externalize strings" ?
This is cool.
Especially for aplications with >10000 Strings ;)
Do i really have to externalize every string by oneself ?
mfg
Carsten