Inspections allow highlighting of issues in the editor.

They also allow for quick fixes that the user can select using Ctrl+Enter ⌘ ↩.

How Inspections work

One example is the inspection that turns Markdown-styled headings into AsciiDoc styled headings.

An inspection contains the following elements:

  • Inspection itself (

  • Registration of inspection in plugin.xml.

  • Description (AsciiDocHeadingStyle.html).

  • One or more quick-fixes (

  • Test case (

  • Test data fore before/after quickfix (markdownHeading.adoc and markdownHeading-after.adoc).