Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>IBMi IndicatorsNew to Visual Studio Code? Get it now.
IBMi Indicators

IBMi Indicators

Brian Recio

|
3 installs
| (0) | Free
Lists the RPG indicators (*IN01, *INLR, *INKC...) in the Outline. / Muestra en el Outline los indicadores RPG usados en el fuente.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

IBMi Indicators

English · Español


English

Adds an Indicators node to the VS Code Outline panel listing every indicator used in an RPG source, each one only once and sorted by name.

Expand an indicator to see the lines where it appears, tagged as:

  • activa (sets): the line turns the indicator on or off (resulting indicators of CHAIN, READ, SETON..., or assignments such as *IN25 = *ON).
  • consulta (reads): the line only tests it (conditioning indicators, IF *IN99, DOW NOT *IN03...).

Click a line to jump straight to it in the source.

What it detects

  • *INxx, *IN(xx), *INLR, *INRT, *INKA–*INKY, *INH1–*INH9, *INU1–*INU8, *INL1–*INL9, *INOA–*INOG, *INOV, in any format.
  • In fixed format, also the indicators in the columns of C specs:
    • RPG IV (.RPGLE, .SQLRPGLE): conditioning in positions 9-11 and resulting in 71-76.
    • RPG III (.RPG, .SQLRPG): conditioning in positions 9-17 and resulting in 54-59.
  • Commented-out lines and // comments are ignored.

Limitations

  • Indicators that are only defined in the display or printer file (DSPF/PRTF) and never named in the program do not appear, because they are not in the source. For a complete list, compile with OPTION(*XREF) and check the Indicator References section of the listing.
  • /COPY and /INCLUDE members are not followed: only the open source is analysed.

Tips

To open the Outline fully collapsed:

"outline.collapseItems": "alwaysCollapse"

To see the subroutine you are in while scrolling:

"editor.stickyScroll.enabled": true,
"editor.stickyScroll.defaultModel": "indentationModel"

Requirements

VS Code 1.75 or later and an extension that assigns the rpgle or rpg language to your sources (for example, Code for IBM i).


Español

Añade al panel Outline de VS Code un nodo Indicadores con todos los indicadores que usa un fuente RPG, cada uno una sola vez y ordenados por nombre.

Al desplegar un indicador ves las líneas donde aparece, marcadas como:

  • activa: la línea enciende o apaga el indicador (resultantes de CHAIN, READ, SETON..., o asignaciones como *IN25 = *ON).
  • consulta: la línea solo lo lee (condicionamiento, IF *IN99, DOW NOT *IN03...).

Con un clic en una línea saltas directamente a ella en el fuente.

Qué detecta

  • *INxx, *IN(xx), *INLR, *INRT, *INKA–*INKY, *INH1–*INH9, *INU1–*INU8, *INL1–*INL9, *INOA–*INOG, *INOV, en cualquier formato.
  • En formato fijo, también los indicadores en columnas de las especificaciones C:
    • RPG IV (.RPGLE, .SQLRPGLE): condicionamiento en posiciones 9-11 y resultantes en 71-76.
    • RPG III (.RPG, .SQLRPG): condicionamiento en posiciones 9-17 y resultantes en 54-59.
  • Ignora las líneas comentadas y los comentarios //.

Limitaciones

  • Los indicadores que solo están definidos en el fichero de pantalla o de impresora (DSPF/PRTF) y que el programa nunca nombra no aparecen, porque no están en el fuente. Para una lista completa, compila con OPTION(*XREF) y revisa la sección Indicator References del listado.
  • No interpreta /COPY ni /INCLUDE: solo analiza el fuente abierto.

Consejos

Para que el Outline se abra con todo plegado:

"outline.collapseItems": "alwaysCollapse"

Para ver la subrutina en la que estás mientras haces scroll:

"editor.stickyScroll.enabled": true,
"editor.stickyScroll.defaultModel": "indentationModel"

Requisitos

VS Code 1.75 o superior y una extensión que asigne el lenguaje rpgle o rpg a los fuentes (por ejemplo, Code for IBM i).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft