Once installed, this adds a menu item in the main menu, under "Refactor." It is highly recommended to give some keyboard short cut to this. I use "Ctrl+Alt+I":
Now, to use this feature, select the message you'd like to internationalize, then trigger this refactoring command. It'll ask you the message property name for this, so pick a name:
IDEA will place the message into the resource file, and adjust the code accordingly. Note that an error is highlighted until you run
mvn compile again to generate new methods on the
Stapler plugin for
See NetBeans plugin for Stapler for details.