v0.7.3 — Snippet completion for built-in functions
Feature release adding parameterised snippet insertion for GPPL built-in functions.
Added
-
Snippet completion for built-in functions. Picking a built-in function from the completion list now inserts a parameterised call skeleton with Tab-stops:
substr→substr(${1:string}, ${2:from}, ${3:len})atan2→atan2(${1:y}, ${2:x})abs→abs(${1:number})round→round(${1:number}, ${2:dig})- …and 40 more numeric/string/logical functions.
Parameter names are sourced from the GPPL specification. Optional parameters (
[val]ofinstr,[, k]ofreplace,:formatoftostr) are intentionally omitted — advanced users add them by hand, and beginners aren't forced to delete a placeholder they don't need. -
Logical functions in completion.
active,change,even, andoddwere missing from the completion list entirely. They are now offered (also with snippet skeletons) alongside numeric and string functions.
Fixed
- Parenless built-ins.
dateandtimeare parameterless and, per the GPPL grammar (date: Date;,time: Time;), are called without parentheses. The completion now inserts just the name in that case.
Includes all v0.7.2 fixes (procedure @-prefix completion, bare call @ NRE).
VSIX attached — install via code --install-extension anzory.vscode-gppl-ide-0.7.3.vsix or drag-drop into the Extensions view.