Inspectopedia 2024.3 Help

Non-empty code block uses source file

Detects non-empty code blocks that also define a valid source file via the src attribute.

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.

WrsNonEmptyCodeBlockWithSrcInspection
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

By default, Writerside inserts the contents of the referenced source file into the code block. If you really want to use the contents of the source file, remove text inside the <code-block> element and collapse it. Otherwise, keep the text in the code block and remove the src reference to 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