I am using the "String Extensions String" widget of Eclipse. On exteriorizing the stars, a message. The properties are generated by adding the key key pair.
Say the message. Properties look like this:
add test_msg1 = test_msg2 Delete = test_msg3 = Include
Speak me a test.java file with code:
add string = message .getString ("Test_msg1"); Remove the string = message .getString ("Test_msg2"); String includes = message .getString ("Test_msg3"); After this, if I edit the test.java file and remove the two strings, then I want the message "Remove" and "Include". Files to update properties such as Test_msg2 and Test_msg3 are deleted. Is there any way of doing it ? Or do I have to edit the messages Properties file manually when I delete a string from a huge Java file? Thank you, Sony
When you have a Java file through the 'Exhibit Dialog' Let's explore the strings, then you get the message down. Java and messages. Property should be received,
public class message NLS {personal constant final string extends BUNDLE_NAME = "com.xxx.ui.internal.Message"; // $ NON-NLS-1 $ // Generic String: Public Stabilized String Str1; Public stable string straw 2; Stable {loadMessages (); } Public Static Zero Load Message () {NLS.in initializeMessages (BUNDLE_NAME, Message.class); }} If a Java code uses the string "Str1", you can find them and remove them via the right message Message.java or message.properties, then add strobe =
by clicking on the context menu item 'source' - 'Find broken external strings'.
Comments
Post a Comment