Inspectopedia Help

Element filter shadowed by ancestors

Detects content filters that are shadowed by filters of parent elements.

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.

WrsContentShadowedByAncestors
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 | Writerside | Content validity

Example:

<p instance="foo">Click <control instance="bar">OK</control>.</p>

In this example, bar is shadowed by foo, meaning that it will never be included in any instance. Make sure that all parent elements include filters that you expect for the child elements. So in this case, you should add bar to the parent paragraph.

Inspection Details

By default bundled with:

Writerside 2024.1

Can be installed with plugin:

Writerside, 2024.04.241.15989.11

Last modified: 27 August 2024