If I have a Java source file open in Eclipse I want to be able to click on a resource bundle key to open the resource bundle at the associated line for editing. For example if I had a bundle Bundle_en.properties
:
key1=Value One
key2=Value Two
And a source file:
ResourceBundle bundle = ResourceBundle.getBundle("Bundle", Locale.ENGLISH);
String value = bundle.getString("key1");
I would like to be able to ctrl-click on that "key1"
in the source file and have the properties file open up with key1 highlighted. In a real world scenario I would have a dozen properties files each containing hundreds of keys accessed from 20 different classes. Any pointers appreciated.
Thank you!