Inspectopedia 2025.1 Help

Redundant semicolon

Reports redundant semicolons in the code. Semicolons are unnecessary in Ruby, excepting the case of joining multi-line statements into a single line.

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.

RubyUnnecessarySemicolon
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 | Ruby | Redundant code

Inspection Details

By default bundled with:

Qodana for Ruby 2025.1, RubyMine 2025.1,

Can be installed with plugin:

Ruby, 251.24752

01 April 2025