Can I have Eclipse adding my string resources as I code or do I have to switch to string.xml all the time and add each string?
You have to switch to string.xml
: its unfortunate, but right now Eclipse doesn't give you a clean way of popping into the string editor directly from the code you are typing. Optimally you would type a string constant (like R.string.new_string
and I guess hotkey or double click or something and jump directly into the strings.xml editor with the existing entry selected (if new_string
exists) or a new entry created (if new_string
doesn't yet exist).
Wouldn't that be nice.