Bug 282881

Summary: [nls tooling] Allow to consider numbers when sort externalized strings
Product: [Eclipse Project] JDT Reporter: Greg Watson <g.watson>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: contact, daniel_megert
Version: 3.5Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Greg Watson CLA 2009-07-08 11:58:48 EDT
The wizard is sorting strings using the natural order, so that if there are more than 10 strings to externalize, the order is not what you'd expect for the string names. i.e.:

	public static String SDMPage_0;
	public static String SDMPage_1;
	public static String SDMPage_10;
	public static String SDMPage_11; 
	public static String SDMPage_2;
	...
 
It would be nice if the sorting was:

	public static String SDMPage_0;
	public static String SDMPage_1;
	public static String SDMPage_2;
	...
	public static String SDMPage_9;
	public static String SDMPage_10;
	public static String SDMPage_11;
Comment 1 Dani Megert CLA 2009-07-09 02:23:09 EDT
You'd better use speaking names for the keys ;-)