Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>iTaggerNew to Visual Studio Code? Get it now.
iTagger

iTagger

Manojkumar-IBMi

|
6 installs
| (0) | Free
Add a source modification tag to selected lines in RPGLE, CLP/CLLE, and SQL source files at a fixed column, using the right comment style for each (//, /* */, --).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

iTagger

Adds a source modification tag to selected lines in RPGLE, CLP/CLLE, and SQL source files at a fixed column, using the right comment style for each — so changes are easy to trace back to a change/PTF/ticket number.

Usage

  1. Select one or more lines in the editor (multiple selections are supported).
  2. Right-click and choose iTagger: Add Source Tag, or run the command from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Enter a tag (max 10 characters), e.g. 0084.
  4. Optionally enter a tag column for this run only — leave it blank to use the configured default (itagger.tagColumn).

The extension works on any file type. RPGLE (and everything else) gets //tag comments; CLP and CLLE source files get /* tag */ comments; SQL source files get -- tag comments.

Placement rules

Given a 100-character line and a tag column of 90 (both configurable):

  1. Room before column 90 — the line is padded with spaces and the tag (e.g. //0084, /* 0084 */, or -- 0084 depending on file type) is placed starting at column 90.
  2. Code already reaches column 90, but the line isn't full — the tag is appended right after the existing text, separated by a single space.
  3. No room left on the line — a tag-only line is inserted immediately before and immediately after the code line, starting at column 1 and marked tag-begin / tag-end, so the original line is left untouched.

CL/CLLE/CLP continuation statements

A CL command that spans multiple physical lines via a trailing + (general continuation) or - (continuing a quoted character-string literal) is treated as one logical statement, not tagged line-by-line — a statement can mix both across its lines. Selecting any line that's part of the statement is enough — iTagger follows the continuation chain to find the statement's true start and end:

  • Rules 1/2 apply to the statement's last physical line only.
  • Rule 3, if triggered, sandwiches the entire statement block with /* tag-begin */ / /* tag-end */ at column 1, rather than wrapping just the last line.

Single-line CL commands behave exactly like RPGLE/SQL lines (rules 1-3 applied directly).

Settings

Setting Default Description
itagger.maxLineLength 100 Total usable line length.
itagger.tagColumn 90 1-indexed column where the tag starts when there's room.

Known limitations

  • Tags are plain text comments; the extension does not validate RPGLE, CL, or SQL syntax.
  • Column counting is based on characters, not visual width — avoid tabs in source lines you plan to tag.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft