Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Externalize strings - insertion position
Externalize strings - insertion position [message #9650] Tue, 01 July 2008 17:00
Eclipse UserFriend
Originally posted by: bsv.datatel.com

In my project, we started out with a bunch of handwritten NLS classes
with corresponding properties files. Nicely grouped together for
readability. E.g.,

public class Messages extends NLS {

// Group1
public static String Car;
public static String Truck;

// Group2
public static String Apple;
public static String Orange;

}

Then I started to use the Externalize Strings wizard to add new items.
It works fine, except that the positions it picks for the new entries
seem to be completely random. (Note this is a contrived example)

public class Messages extends NLS {

// Group1
public static String Car;
public static String Banana; <--- Why here??
public static String Truck;

// Group2
public static String Apple;
public static String Orange;

}

Is there a standard, best practices sort order (A-Z?) for NLS classes
and properties files? Something the wizard might be expecting?

If the order is not important, then an enhancement request might be to
allow the user to pick where in the target class and associated
properties file the new items might go. I didn't see anything in
Bugzilla like this..

Any thoughts or ideas would be appreciated! Thanks

-Ben
Previous Topic:How to properly build a re-branded Eclipse distribution
Next Topic:Externalize strings - insertion position
Goto Forum:
  


Current Time: Sun May 11 01:32:55 EDT 2025

Powered by FUDForum. Page generated in 0.03454 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top