Community
Participate
Working Groups
It would be nice if Properties file editor detected duplicate properties. In long properties files on mature projects with many programmers these files often end up in poor shape and having duplicate properties is a real problem.
Try Source > Find Broken NLS Keys... (needs latest 3.2 I-build)
*** Bug 276710 has been marked as a duplicate of this bug. ***
Eclipse should NOT delete lines with "duplicate" key, because they can be loaded as String array by org.apache.commons.configuration.Configuration.getStringArray http://commons.apache.org/proper/commons-configuration/apidocs/org/apache/commons/configuration/Configuration.html#getStringArray(java.lang.String) Deleting lines with the same property and different values leads to loss of data (I'm experimenting now with Eclipse Kepler)! This feature should be implemented as a command on demand (not automatic). Thanks PS: this issue is old and not up-to-date, I think I'm gonna create a new one
Sorry, I made a mistake: I agree that Eclipse should *only detect*. I opened issue #419427 because Kepler actually deletes. Thanks