Settings

Open File → Preferences → Settings and search for Vanthrex, or edit settings.json.

SettingTypeDefaultDescription
vanthrex.compileActionsarray15 built-in actionsCompile actions. Variables: &LIB (source library), &OBJLIB (target library), &SRCFILE, &NAME, &EXT, &FULLPATH (IFS path), &CURLIB, &USER. Add OPTION(*EVENTF) to get inline errors.
vanthrex.sql.maxRowsnumber500Maximum number of rows fetched into the SQL result grid.
vanthrex.sql.confirmDestructivebooleantrueAsk for confirmation before running DELETE, DROP, TRUNCATE or UPDATE without WHERE.
vanthrex.tempDirectorystring"/tmp"IFS directory used for temporary files during member transfer.
vanthrex.spool.maxEntriesnumber200Maximum number of spooled files listed.
vanthrex.autoConnectLastbooleanfalseReconnect automatically to the last used system when VS Code starts.
vanthrex.objects.showAllbooleantrueShow an 'Objects' folder (programs, files, service programs…) under each library.
vanthrex.dashboard.refreshSecondsnumber30How often the System Dashboard refreshes (seconds). 0 = only when you click Refresh.
vanthrex.dataEditor.pageSizenumber100Rows per page in the table data editor.
vanthrex.history.enabledbooleantrueKeep a local copy of every member and IFS file you open or save, so you can compare and restore.
vanthrex.history.maxVersionsnumber50Local history versions kept per member / file.
vanthrex.lint.enabledbooleantrueCheck RPG sources as you type.
vanthrex.lint.maxProcedureLinesnumber200Report procedures longer than this many lines.
vanthrex.lint.rulesobjectall checks onTurn individual RPG checks on or off.
vanthrex.sourceDates.enabledbooleantrueRead and save members with their sequence numbers and change dates (SRCSEQ/SRCDAT), like SEU. Unchanged lines keep their date; changed lines get today's date. Needs a Mapepire SQL engine; otherwise members are copied as plain text.
vanthrex.sourceDates.displaystring"date"What to show in front of each member line (Ctrl+Alt+D cycles). Values: date, seq-date, off.
vanthrex.sourceDates.formatstring"yymmdd"Date format: SEU-style YYMMDD or ISO YYYY-MM-DD. Values: yymmdd, iso.
vanthrex.conflictCheckbooleantrueWarn when a member is locked by another job, or changed on the IBM i after you opened it, before your save overwrites it.
vanthrex.members.sortBystring"name"Order of members in the Libraries view. Values: name, date.
vanthrex.sql.scriptStopOnErrorbooleantrueRun SQL Script: stop at the first statement that fails (off = run every statement and report failures).
vanthrex.debug.portnumber0IBM i Debug Service secured port. 0 = read it from the service configuration (usually 8005).
vanthrex.debug.ignoreCertificateErrorsbooleanfalseConnect to the Debug Service even when its certificate cannot be verified. Only for test systems.
vanthrex.debug.updateProductionFilesbooleanfalseAllow the debugged program to update files in production libraries (UPDPROD).
vanthrex.debug.tracebooleanfalseWrite a trace of the debug protocol to the IBM i Debug output (for support).
vanthrex.connections.keepOthersOpenbooleantrueKeep other systems connected when you connect to another one, so you can switch between them instantly (Ctrl+Alt+S).
vanthrex.callGraph.depthnumber2How many levels of callers / callees the call graph shows at first.
vanthrex.callGraph.maxNodesnumber200Largest number of objects drawn in a call graph.
vanthrex.callGraph.hideSystemObjectsbooleantrueLeave IBM-supplied objects (QCMDEXC, QSYSPRT…) out of the call graph.
vanthrex.ai.enabledbooleantrueEnable the @vanthrex AI assistant and the AI commands. Code you ask about is sent to the language model you selected in VS Code chat.
vanthrex.ai.useToolsbooleantrueLet the AI assistant look things up on the connected IBM i (object descriptions, table columns, source, read-only queries).
vanthrex.ai.allowQueriesbooleantrueLet the AI run read-only SQL queries (SELECT / WITH / VALUES only; anything that changes data is refused).
vanthrex.ai.confirmQueriesbooleantrueAsk before the AI runs a query on the IBM i.
vanthrex.ai.maxSourceCharsnumber60000Largest amount of source text sent to the language model in one request.
vanthrex.alerts.enabledbooleanfalseShow VS Code notifications when a job waits for a reply (MSGW), an inquiry arrives on QSYSOPR, a batch job ends abnormally or the system ASP passes the alert level.
vanthrex.alerts.intervalSecondsnumber60How often live alerts check the IBM i, in seconds (30 or more).
vanthrex.alerts.scopestring"mine"Whose jobs and messages live alerts watch. Values: mine, all.
vanthrex.alerts.diskPercentnumber85Alert when the system ASP is used above this percentage.
vanthrex.promotion.backupLibrarystring"QGPL"Library for the backup and transfer save files that object promotion creates.
vanthrex.export.maxRowsnumber100000Maximum number of rows exported to Excel, CSV or JSON.
vanthrex.performance.intervalSecondsnumber5How often the performance monitor samples the IBM i, in seconds.
vanthrex.rpgunit.librarystring"RPGUNIT"Library where RPGUnit (iRPGUnit) is installed; added to the library list to compile and run tests.
vanthrex.rpgunit.testLibrarystring""Library for the compiled test programs. Empty = your current library.
vanthrex.selfCheck.onConnectbooleantrueCheck the system the first time you connect to it in a session and warn about setup problems (SQL engine, CCSID, library list…).
vanthrex.spool.pdfModestring"local"How spooled files become PDF: "local" converts the text in VS Code (works everywhere); "server" asks the IBM i (CPYSPLF WSCST(*PDF)) and keeps fonts and graphics, falling back to local. Values: local, server.
vanthrex.compare.maxRowsnumber50000Maximum rows read from each system when comparing a table across two systems.
vanthrex.ifs.followLinesnumber500How many lines at the end of a file "Follow File (tail -f)" shows; it refreshes every 2 seconds.
vanthrex.templatesarray[]Your own templates for "New Member from Template…": name, source type (RPGLE, CLLE, SQL…), description and text. &NAME, &TEXT, &DATE and &USER are filled in.
vanthrex.scan.allowedLibrariesarray[]Libraries that may be named in source without being reported by "Find Hard-Coded Libraries" (IBM libraries and QTEMP are always allowed).
vanthrex.pdm.userOptionsobject{}PDM user-defined options (F16): option code → CL command. Variables: &L library, &F file, &N name, &T type, &A attribute, &O object library, &U user, &X text. Built-in: CB, CS, CC, DF, PF, RS (set one to an empty string to hide it).
vanthrex.compileOnSavestring"off"Compile a source member after you save it: off, ask (a notification with Compile / Always / Not now) or always. Copy members (INC, RPGLEINC…) are never compiled. Values: off, ask, always.
vanthrex.compileOnSave.typesarray[]Only compile on save these source types (for example RPGLE, SQLRPGLE). Empty = every type that can be compiled.
vanthrex.memberStatusBarbooleantrueShow, for the member you are editing, whether its program is up to date with the source and who else has it open (status bar; click for details).
vanthrex.connections.autoReconnectbooleantrueWhen a connection drops (network, VPN, sleep), reconnect by itself with the saved sign-on: 5 attempts over about 2 minutes. Changes that could not be saved meanwhile are kept on this computer and saved when the system is back.
vanthrex.connections.healthCheckSecondsnumber60Check every N seconds that the active system still answers (a tiny query). A slow answer shows in the status bar; two misses in a row reconnect. 0 turns it off.
vanthrex.notes.sharedFilestring""Share member notes with your team: an IFS file such as /home/TEAM/vanthrex-notes.json that everybody can read and write. Empty keeps notes on this computer only.
vanthrex.dsLayout.hoverbooleantrueShow the position and length of a data structure subfield when you hover over its definition.
vanthrex.5250.clientstring"auto"Which program opens a 5250 session for the active system. Values: auto, acs, tn5250, command.
vanthrex.5250.acsPathstring""Path to acslaunch_win-64.exe, acslaunch_linux-64, the ACS app or acsbundle.jar (empty: found automatically).
vanthrex.5250.commandstring""Command that starts your 5250 emulator, with ${host}, ${user}, ${device} and ${port} replaced, for example "C:\\Program Files\\IBM\\Client Access\\Emulator\\pcsws.exe" /H=${host}.
vanthrex.5250.deviceNamestring""Display device name to use (tn5250 and your own command).
vanthrex.5250.sslbooleanfalseUse TLS (port 992) for tn5250.
vanthrex.5250.portnumber0Telnet port when it is not the default (23, or 992 with TLS).
vanthrex.deploy.directorystring""IFS folder a local workspace folder is deployed to. ${home}, ${user} and ${folder} are replaced. Empty: ${home}/builds/${folder}.
vanthrex.deploy.ignorearray["node_modules/", ".vscode/", "*.vsix", "*.log", ".env", ".env.*", "*.pem", "*.key"]Files and folders that are never deployed (* and ** wildcards, a trailing / for folders). .git is always skipped.
vanthrex.deploy.buildCommandstring""Command Build Project on IBM i runs in PASE in the deploy folder, for example makei build (Bob) or gmake. CURLIB and LIBL are set from the connection.
vanthrex.deploy.ccsidnumber1208CCSID the deployed files are tagged with (1208 = UTF-8, so compilers read them correctly). 0 leaves the tag alone.
vanthrex.deploy.onSavebooleanfalseUpload a local file to its deploy folder every time it is saved.
vanthrex.deploy.compileDeploysChangesbooleantrueBefore compiling a local file, deploy every changed file of the folder too (so changed copybooks and includes are used).
vanthrex.terminal.openSourcePathbooleantruePut /QOpenSys/pkgs/bin (yum open-source tools: bash, git, python…) first on the PATH of a new PASE terminal.
vanthrex.notebook.maxRowsnumber1000Rows an SQL cell of an IBM i notebook reads (a cell can ask for more with -- rows: N).
vanthrex.editor.columnHintsbooleantrueShow the fixed-format field under the cursor (RPG and DDS) in the status bar.
vanthrex.editor.rpgIndentnumber2Spaces per level when Format Document re-indents fully free RPG.
vanthrex.editor.clCommandHelpbooleantrueIn CL sources, show what a command does when you hover it and offer its keywords and allowed values while typing (read from the command definitions on the connected system).
vanthrex.editor.sqlCodeLensbooleantrueShow Run, Explain and RPG code links above each statement of an SQL file.
vanthrex.codeGen.arraySizenumber100Number of elements (dim) of arrays in generated RPG (JSON arrays, rows read per FETCH).
vanthrex.codeGen.insertRowsnumber1000Rows Copy Rows as SQL INSERT Script reads at most.
vanthrex.ai.redact.secretsbooleantrueBefore anything is sent to the AI, replace passwords (CL PASSWORD(…), pwd = …), API keys, tokens, private keys and credentials in URLs by placeholders (xxxx1, xxxx2…). The real values are put back only on this computer, in the answer.
vanthrex.ai.redact.personalDatabooleantrueReplace e-mail addresses, payment card numbers (Luhn-checked) and IBANs (checksum-checked) by placeholders before they are sent to the AI.
vanthrex.ai.redact.hostNamesbooleantrueReplace IP addresses and the host names of your connections (and of vanthrex.ai.redact.hostList) by placeholders before they are sent to the AI.
vanthrex.ai.redact.hostListarray[]More internal host or server names to hide from the AI.
vanthrex.ai.redact.wordsarray[]Words that must never be sent to the AI (customer names, project code names…): replaced by placeholders.
vanthrex.ai.sensitiveColumnsarray["PASS", "PWD", "SECRET", "TOKEN", "APIKEY", "SSN", "SOCSEC", "NIR", "IBAN", "BIC", "SWIFT", "CARD", "CCNUM", "CVV", "PAN", "SALARY", "SALAIRE", "WAGE", "PAYRATE", "BIRTH", "DOB", "TAXID", "NATID", "PASSPORT", "EMAIL", "MAIL", "PHONE", "TEL", "MOBILE", "ADDRESS", "ADR"]Columns whose values are always replaced by xxxx in query results sent to the AI (a column matches when its name contains the word; short words must be a whole part of the name).
vanthrex.ai.deniedLibrariesarray[]Libraries the AI may never read (source, objects, queries, authorities). PAY* matches every library starting with PAY.
vanthrex.ai.productionDatastring"metadata"What the AI may read on protected connections (production protection Confirm or Read-only): metadata = source, catalog and object facts but no table rows (default), full = also query results (masked), none = nothing. Values: full, metadata, none.
vanthrex.ai.otherSystemsDatastring"full"What the AI may read on connections that are not protected: full (query results are still masked), metadata or none. Values: full, metadata, none.
vanthrex.ai.auditbooleantrueKeep an audit trail of what is sent to the AI (time, system, feature, size, number of hidden values — never the content) in the Vanthrex AI Audit output and a file in the extension's storage.
vanthrex.ai.showPrivacyNotebooleantrueAfter an answer, say how many values were hidden from the AI.
vanthrex.ai.codeLensbooleantrueShow ✨ Explain · Document · Tests above each RPG procedure and subroutine.
vanthrex.ai.modelFamilystring""Language model family for AI: Change the Selected Code (for example gpt-4o or claude-sonnet-4); empty = the first available model. The chat uses the model chosen in the chat window.
vanthrex.editor.checkCharactersbooleantrueUnderline characters that break a compile or a CCSID conversion (tabs, control characters, no-break spaces, curly quotes, characters lost in a conversion) when a source is opened or saved.
vanthrex.csvSeparatorstring","Separator of CSV files written by Report to CSV (; for spreadsheets set up for a comma as decimal separator). Values: ,, ;, .
vanthrex.jobHistoryDaysnumber30Days of history log read by Job Run History.
vanthrex.unusedIndexDaysnumber180Days without query use or open before Unused Indexes proposes an index.
vanthrex.spoolSearchDaysnumber7Days of spooled files searched by Find a Text in Spooled Files.
vanthrex.editor.matchBlocksbooleantrueHighlight the matching IF / ELSE / ENDIF, DO / ENDDO, SELECT / WHEN / ENDSL keywords in RPG and CL when the cursor is on one.
vanthrex.editor.explainCodesbooleantrueExplain SQLCODE, SQLSTATE and RPG status codes (01218, -803, '23505') when hovering them in RPG, SQL and CL.
vanthrex.editor.changeLogTemplatestring"{date} {user} {ticket} {text}"Text of Add Change Log Entry: {date}, {user}, {ticket}, {text}. Use \n for more lines.
vanthrex.editor.changeLogUserstring""Name written by Add Change Log Entry (empty: the IBM i user of the connection).
vanthrex.profileSampleRowsnumber0Data Profile: read only the first N rows (0 = the whole table).
vanthrex.capacityWarnPercentnumber80Columns Close to Their Limit marks columns that use this percentage of what they can hold.
vanthrex.unusedObjectDaysnumber365Days without use before Unused Objects lists an object.
vanthrex.benchmarkRowsnumber1000Rows fetched on each run by Time This SQL Statement.
vanthrex.scheduleDaysnumber7Days shown by Job Schedule for the Next Days.
vanthrex.memberCache.enabledbooleantrueKeep members you open on this computer: a member that did not change on the IBM i opens again instantly (one small query instead of a copy).
vanthrex.memberCache.maxMembersnumber500Members kept by the member cache (the least recently used are removed).
vanthrex.index.membersPerTripnumber150Members read in one round trip when indexing sources.
vanthrex.index.parallelnumber3Source files read at the same time when indexing sources.
vanthrex.index.refreshOnConnectbooleantrueAfter connecting, read again the indexed members that changed (in the background).
vanthrex.goTo.maxItemsnumber40000Most members and objects listed by Go to Anything.
vanthrex.goTo.refreshMinutesnumber30Minutes before Go to Anything reloads its list in the background.
vanthrex.warmUp.enabledbooleantrueAfter connecting, prepare in the background: the SQL job, the Go to Anything list, the source index and the most recent members.
vanthrex.warmUp.membersnumber5Recently opened members loaded into the member cache by the warm-up.
vanthrex.compile.parallelnumber4Members compiled at the same time by Batch Compile and Recompile the Programs That Use This File (1 = one after the other).
vanthrex.editor.referenceLinksbooleantrueMake IBM i references clickable in sources, spooled files and logs: LIB/FILE(MBR), PGM(LIB/OBJ), IFS paths, message IDs and job names.
vanthrex.macrosarray[]CL macros for Run a CL Macro: a name and a list of CL commands. ${NAME} asks for a value when the macro runs (${LIB:MYLIB} with a default); ${USER}, ${CURLIB}, ${DATE} and ${TIME} are filled in. The commands run in order and stop at the first error.
vanthrex.editor.fileFieldHelpbooleantrueIn RPG, hovering a declared file shows its fields from Db2, hovering a field shows its type and text, field names are completed and Ctrl+click on a file opens its DDS source.
vanthrex.editor.autoCloseBlocksbooleantrueIn RPG, pressing Enter after IF, DOW, FOR, SELECT, MONITOR, BEGSR or DCL-PROC adds the matching END… line when it is missing.
vanthrex.editor.parameterNameHintsbooleantrueIn RPG, shows the parameter names before the arguments of procedure calls (inlay hints).
vanthrex.editor.referenceCodeLensbooleanfalseIn RPG, shows the number of references above each procedure and subroutine.
vanthrex.editor.localCompletionbooleantrueIn RPG, completes the names declared in the source: variables, constants, procedures (with their parameters) and subroutines after EXSR.
vanthrex.editor.procedureInStatusBarbooleantrueIn RPG, shows the procedure or subroutine the cursor is in, in the status bar.
vanthrex.editor.fixedColumnHighlightbooleantrueIn fixed-format RPG, shades every other column field of the current line and shows its name on hover.
vanthrex.editor.wrapColumnnumber100Column at which Wrap Long Line splits free-form RPG. Column-limited sources always wrap at 80.
vanthrex.editor.docsReleasestring"7.5"IBM i release used by Open IBM Documentation for the Word.
vanthrex.lint.maxNestingnumber6Deepest block nesting before the deep-nesting check reports it.
vanthrex.editor.inlineSuggestionsbooleantrueSuggestions while you type in RPG and CL, shown in grey and accepted with Tab: the next statement you usually write (IF %FOUND after CHAIN, SQLCODE test after embedded SQL, OPEN and FETCH after DECLARE CURSOR, MONMSG after CHKOBJ / DLTF…), the type of a new variable from its name and from the variables already declared, the file of %FOUND / %EOF and the parameters of a call. Offline: nothing is sent anywhere.
vanthrex.ai.inlineSuggestionsbooleanfalseAlso ask the AI model for a suggestion when you pause typing and no offline suggestion applies (RPG, CL, SQL, DDS). The code around the cursor goes through the Vanthrex guard first (secrets and personal data replaced, denied libraries and protected systems never sent) and every request is in the audit trail.
vanthrex.ai.inlineDelaynumber500Pause in milliseconds before an AI suggestion is requested.
vanthrex.lint.clbooleantrueCheck CL sources while you type: undeclared and unused variables, GOTO to a missing label, DO / SELECT / SUBR not closed, DCL after the first command, literals too long, text in *DEC variables, hard-coded libraries.
vanthrex.lint.sqlbooleantrueCheck SQL scripts while you type: UPDATE / DELETE without WHERE, DROP / TRUNCATE, = NULL instead of IS NULL, SELECT INTO without WHERE.
vanthrex.editor.toolboxButtonbooleantrueShow the $(tools) IBM i button in the status bar for RPG, CL, SQL and DDS sources: it opens the tools that fit the file and the selection (also Ctrl+Alt+A).
vanthrex.editor.sizeHoversbooleantrueHovering a literal shows its length (bytes for X'…' hex literals); hovering a declared RPG variable shows its storage size.
vanthrex.standardsobject{}Team coding standards for RPG, checked while you type and in the Code Health Report. All off by default; set them with Team Coding Standards… or import an rpglint.json. Put them in the workspace settings so the whole team uses the same ones.
vanthrex.lint.ddsbooleantrueCheck DDS sources (PF, LF, DSPF, PRTF) while you type: names longer than 10 characters, duplicate fields or record formats, missing lengths, decimals and length limits, key fields not in the record, display fields outside the screen or on top of each other.
vanthrex.editor.semanticHighlightingbooleantrueColour RPG names by what they are: parameters, constants (read-only), data structures and subfields, procedures, files and subroutines; globals used inside a procedure are marked.
vanthrex.editor.indentOnTypebooleantrueIn free-form RPG, typing the ; of ENDIF, ENDDO, ELSE, WHEN, END-PROC… moves the line to the indentation of its opener.
vanthrex.editor.terminalLinksbooleantrueIn every terminal, LIB/FILE(MEMBER), message IDs (CPF9801, MCH1210…) and IFS paths become links: click to open the member or file, or explain the message.
vanthrex.sharedSnippets.folderstring""IFS folder of shared snippets: set it to a folder your team can write to, for example /shared/vanthrex/snippets, so everyone sees the same snippets. {user} is replaced by the user profile. Empty: /home/{user}/.vanthrex/snippets (only yours).
vanthrex.backupDaysnumber7Days after which Backup Freshness marks a library as not saved lately.

RPG check rules

Use vanthrex.lint.rules to switch single checks off, for example:

"vanthrex.lint.rules": { "numbered-indicator": false, "select-star": false }
Rule What it reports
unused-definition Variables, constants and subroutines that are declared but never used
goto GOTO usage
tag TAG labels
program-end Main program without *INLR = *ON or RETURN
long-procedure Procedures longer than the configured number of lines
numbered-indicator Numbered indicators (IN01-IN99)
empty-on-error ON-ERROR blocks that silently swallow errors
select-star SELECT * in embedded SQL
mixed-format Fixed-format calculation specs in a free-format source

Compile actions

These are the built-in entries of vanthrex.compileActions. Copy one into your settings to change it, or add your own.

Variables: &LIB (source library), &OBJLIB (object library), &SRCFILE, &NAME, &EXT, &FULLPATH (IFS path), &CURLIB, &USER.

Name Source types From Command
Create Bound RPG Program (CRTBNDRPG) rpgle member CRTBNDRPG PGM(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES)
Create RPG Module (CRTRPGMOD) rpgle member CRTRPGMOD MODULE(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES)
Create SQL RPG Program (CRTSQLRPGI) sqlrpgle member CRTSQLRPGI OBJ(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OBJTYPE(*PGM) COMMIT(*NONE) OPTION(*EVENTF) DBGVIEW(*SOURCE) CLOSQLCSR(*ENDMOD) REPLACE(*YES)
Create Bound CL Program (CRTBNDCL) clle member CRTBNDCL PGM(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES)
Create CL Program (CRTCLPGM) clp member CRTCLPGM PGM(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) REPLACE(*YES)
Create Command (CRTCMD) cmd member CRTCMD CMD(&OBJLIB/&NAME) PGM(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) REPLACE(*YES)
Create Physical File (CRTPF) pf member CRTPF FILE(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF)
Create Logical File (CRTLF) lf member CRTLF FILE(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF)
Create Display File (CRTDSPF) dspf member CRTDSPF FILE(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) REPLACE(*YES)
Create Printer File (CRTPRTF) prtf member CRTPRTF FILE(&OBJLIB/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) REPLACE(*YES)
Run SQL Script (RUNSQLSTM) sql member RUNSQLSTM SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) COMMIT(*NONE) NAMING(*SQL)
Create Bound RPG Program from IFS (CRTBNDRPG) rpgle ifs CRTBNDRPG PGM(&OBJLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES) TGTCCSID(*JOB)
Create SQL RPG Program from IFS (CRTSQLRPGI) sqlrpgle ifs CRTSQLRPGI OBJ(&OBJLIB/&NAME) SRCSTMF('&FULLPATH') OBJTYPE(*PGM) COMMIT(*NONE) OPTION(*EVENTF) DBGVIEW(*SOURCE) CVTCCSID(*JOB) REPLACE(*YES)
Create Bound CL Program from IFS (CRTBNDCL) clle ifs CRTBNDCL PGM(&OBJLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES)
Run SQL Script from IFS (RUNSQLSTM) sql ifs RUNSQLSTM SRCSTMF('&FULLPATH') COMMIT(*NONE) NAMING(*SQL)
"vanthrex.compileActions": [
  {
    "name": "Create RPG program into my test library",
    "extensions": ["rpgle"],
    "source": "member",
    "command": "CRTBNDRPG PGM(MYTEST/&NAME) SRCFILE(&LIB/&SRCFILE) SRCMBR(&NAME) OPTION(*EVENTF) DBGVIEW(*SOURCE) REPLACE(*YES)"
  }
]

Keep OPTION(*EVENTF) so the errors can be shown inline.