Show block nesting

Show block nesting draws lines in the editor margin to mark the beginning and ending of ILE RPG code blocks.

Procedure

  1. To show nested blocks, right-click your source in the editor and select Source > Show Block Nesting. You can also use the key sequence Ctrl+Shift+O.
    Show block nesting
    Note: If Show Block Nesting is invoked on a line that is not a control flow statement, it will display nesting for the current subroutine or procedure and also show the name of the current subroutine or procedure in the editor message line. For example, in the following image, Show Block Nesting was invoked on the line EMESS = *Blanks;, block nesting is displayed for the containing subroutine PRJTAG, and the subroutine name is displayed in the editor message line.
    Display subroutine name in editor message line
  2. To remove the display of nested blocks in the editor margin, click Source > Refresh. You can also use the key sequence Ctrl+F5.