Bug 282881 - [nls tooling] Allow to consider numbers when sort externalized strings
Summary: [nls tooling] Allow to consider numbers when sort externalized strings
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-07-08 11:58 EDT by Greg Watson CLA
Modified: 2009-07-09 02:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;-)