Inspectopedia Help

Suspicious type mismatch

Reports a mismatch between a scalar value type in YAML file and types of the values in the similar positions.

Example:

myElements: - value1 - value2 - false # <- reported, because it is a boolean value, while other values are strings

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.

YAMLIncompatibleTypes
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.

Settings or Preferences | Editor | Inspections | YAML

Last modified: 27 August 2024