You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
very great tool I've discovered a few time ago, thank you very much to bring it to us.
I would have some proposals that may be useful for us and hopefully for others. I use the tool on OSGI/bundle.properties but also messages.properties. The two systems have some differences :
bundle.properties
use pattern as command.name, page.name
does not support UTF-8
RBE options : "separator = . " and "convert unicode values to \uXXXX = true"
messages.properties and class Messages.java
can not use the point character, because the keys are also the member names defined in Messages.java (unfortunately Java only permits the underscore character that can be used as separator in this case)
support UTF-8 (with some tricks)
RBE options : "separator = _" and "convert unicode values to \uXXXX = false"
So with the current version of RBE we can not use it for both case without changing preferences each time we want to edit bundle or messages.
For the separator, maybe the more simple should be to permit a list of separator strings?
There is also a little problem, because the underscore character is generally also used as a "space" in key name I think a good improvement would be to have a preference to define the group depth, eg. 1 stops the group splitting to the first found underscore. In this way RBE could manage a tree as :
ERROR_CANT_WRITE_TO_FILE
ERROR_MISSING_PARAMETER
by creating only the group and node "ERROR" instead of ERROR=>CANT=>WRITE=> etc.
Thanks for reading.
Sebastian
(an F2 shortcut to rename a key will also be very nice ! :) )
The text was updated successfully, but these errors were encountered:
Hi,
very great tool I've discovered a few time ago, thank you very much to bring it to us.
I would have some proposals that may be useful for us and hopefully for others. I use the tool on OSGI/bundle.properties but also messages.properties. The two systems have some differences :
bundle.properties
messages.properties and class Messages.java
So with the current version of RBE we can not use it for both case without changing preferences each time we want to edit bundle or messages.
For the separator, maybe the more simple should be to permit a list of separator strings?
There is also a little problem, because the underscore character is generally also used as a "space" in key name I think a good improvement would be to have a preference to define the group depth, eg. 1 stops the group splitting to the first found underscore. In this way RBE could manage a tree as :
ERROR_CANT_WRITE_TO_FILE
ERROR_MISSING_PARAMETER
by creating only the group and node "ERROR" instead of ERROR=>CANT=>WRITE=> etc.
Thanks for reading.
Sebastian
(an F2 shortcut to rename a key will also be very nice ! :) )
The text was updated successfully, but these errors were encountered: