IntelliJ IDEA 2017.2 Help

'Lens' Mode

Hover the mouse pointer over a warning, error stripe or just some section on the scroll bar outside of the scroll box. IntelliJ IDEA shows the source code fragment annotated with the warning/error messages.

This helps viewing the context a marker applies to, and the source code outside of the editor visible area.

lens mode

This behavior is enabled by default.

To toggle the lens mode

  1. Do one of the following:
    • Open the Appearance page of the Settings dialog.
    • Right-click the code analysis marker on top of the current editor.
  2. Select or clear the check box Show code lens on scrollbar hover.
Last modified: 29 November 2017