Last active
August 1, 2018 12:39
-
-
Save pavi2410/251bb21e107585d52034f546579fd8dc to your computer and use it in GitHub Desktop.
Regex to find and format methods for OdeMessages.java. Use https://regexr.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Find | |
| symbol: +method (.+) | |
| // Format | |
| @DefaultMessage("")\n@Description("")\nString $1;\n\n | |
| ------------------------------------------------------ | |
| // or much powerful (but still needs to set component description manually) | |
| // find | |
| map\.put\(".+-(.+)", MESSAGES\.(.+)\); | |
| // format | |
| @DefaultMessage("$1")\n@Description("")\nString $2;\n\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.