IntelliSense in VSCode
The WaRPGate extension for VSCode adds language support for .warp files:
- Syntax highlighting: sections, keywords, data types, event names, function calls, operators.
- Autocomplete (
@/&as triggers): sections,@Sourcekeywords, data types, builtin functions (with a snippet), per-section property keys,@Layoutcontrols. - Hover: this same book’s documentation, summarized in one line, when hovering over any keyword/function/type.
- Live diagnostics: validates on open/save (see Diagnostics), drawing red/yellow underlines directly in the editor.
- Outline/breadcrumbs: section structure and
Procedure/Functionas navigable symbols. - Go to definition and document links: jump to the table/program/screen referenced in
@References. - Layout Preview: live preview of
@Layoutas an IBM i 5250 terminal screen (24x80 by default, or the size configured in the project’s.warpcfg@Screen). - Commands: see VSCode commands for a screenshot example of each (
Validate File,Generate,Build & Deploy,Select Project File,Reverse Engineer DDS,Preview Layout,Select Layout Block).
IntelliSense stays in sync with every new language release, so highlighting, autocomplete and diagnostics always reflect the compiler’s current capabilities.
Installation
The packaged .vsix includes the compiler binaries for all 3 platforms — there’s no need to install the compiler separately.