Inspectopedia 2024.3 Help

Empty code block

Detects empty code blocks and empty source code files.

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.

WrsCodeBlockIsEmpty
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

It detects literally empty <code-block> elements only if there is no source file specified in the src attribute. Otherwise, it checks the contents of the source file.

Inspection Details

By default bundled with:

Writerside 2024.3

Can be installed with plugin:

Writerside, 2024.11.243.21565.432

Last modified: 03 December 2024