Ignoring Hard-Coded String Literals
Sometimes you might want to ignore the hard-coded literals. To do that,
use Not requiring internationalization annotation.
To ignore a certain hard-coded literal
to show intention actions for the string literal:
Annotate as @NonNls
from the suggestion list.
- In the Select Path dialog that opens, specify the location where
Alternatively, you can add
If you have selected the check box Do not show this dialog in the future, you can still choose annotation style in the
Settings dialog (Code Style | Java - Code Generation).
Last modified: 5 September 2016