Hardcoded string literal in a UI form
Reports any instances of hardcoded strings in your UI forms.
Hardcoded string literals are usually errors in an internationalized environment. This inspection does not report empty strings and strings consisting of only whitespace.
The quick-fix transforms a string literal into a reference to a property in a resource bundle.
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
HardCodedStringLiteral- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | UI Designer, 242.22892 |
Last modified: 11 September 2024