adding NLS key / values reorders property file contents

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

adding NLS key / values reorders property file contents

Postby xristy » Mon May 18, 2009 5:10 am

Eclipse 3.4.1, GWT 1.5.3, GWT-Designer 7.0.0 build of 20090518

It seems that when adding new NLS key / value pairs via the "Externalize Strings" dialogue the contents of the affected property files are re-ordered. They aren't sorted just re-ordered. Since content is added typically in blocks by externalizing the strings in one file and then another one it would be desirable to maintain the order of strings unless they are sorted by key perhaps. I think that this was the behavior on earlier builds but I can't be sure.
xristy
 
Posts: 33
Joined: Mon Aug 04, 2008 5:31 am

Re: adding NLS key / values reorders property file contents

Postby alex.d » Wed May 20, 2009 12:20 am

I Agree. It's pretty annoying. And it's not that much work to sort it by keys. Probably even better to keep the same order as in AppConstants.java file. Any chance we can see a fix in the next build?
alex.d
 
Posts: 35
Joined: Mon Jun 02, 2008 4:46 am

Re: adding NLS key / values reorders property file contents

Postby Eric Clayberg » Thu May 28, 2009 6:47 am

We will now sort GWT *.properties files by key.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests