Inspectopedia Help

Wide code block

Detects code blocks with long lines.

The frontend adds a horizontal scroll bar to code block elements with lines that don't fit inside the block. The maximum width of the code block element can fit lines up to 70 characters without a scroll bar. This inspection highlights code blocks with long lines: rearrange such code to avoid truncated examples for your readers.

You can change the maximum line length for this inspection.

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.

WrsCodeBlockWidthInspection
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

Inspection options

Here you can find the description of settings available for the Wide code block inspection, and the reference of their default values.

Max line length

70

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