New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result of Source->Find broken externalized Strings is broken project #555
Comments
- add enhancement to be able to specify XXXX.usedproperties file which contains property keys known to be used (e.g. a key that gets dynamically created where it is used such as in ResourceAction - modify NLSSearchResultRequestor to read .usedproperties files if they exist and keep a set of used properties - modify NLSSearchQuery to check if an unused key has actually been specified as used via the .usedproperties file - add new test to NLSSearchTest - for eclipse-jdt#555
|
@carstenartur FYI, as the reporter of the original bug, I have posted a new enhancement PR to be able to specify messages that are known to be used so they won't show up when you do a Find broken externalized Strings. I do this by adding a .usedproperties file to protect various messages in the .properties file (as opposed to just adding comments). I intend to add these files for JDT UI for 4.28 M3 and do the final removal for 4.29 M1 to give external projects ample time to discover any internal message being used that isn't marked as used (there are already a few of these). One of the offenders was FoldingMessages.java which was an old style messages file and message keys were built dynamically so it fooled the find action. |
|
It's too long ago. I don't remember the details and I'm not sure that I have understood the reason for the malfunction already at the time I investigated. |
|
Orphaned messages with DO NOT REMOVE have been placed into the .usedproperties files I will commit soon so they will protected at least for the time-being. |
…em (#562) * Add ability to specify used properties to avoid NLS search marking them - add enhancement to be able to specify XXXX.usedproperties file which contains property keys known to be used (e.g. a key that gets dynamically created where it is used such as in ResourceAction - modify NLSSearchResultRequestor to read .usedproperties files if they exist and keep a set of used properties - modify NLSSearchQuery to check if an unused key has actually been specified as used via the .usedproperties file - add new test to NLSSearchTest - for #555
The text was updated successfully, but these errors were encountered: