Skip to content

v1.1.0 — Auto-trigger call completion, wrap selection, perf

Choose a tag to compare

@anzory anzory released this 20 Apr 21:02
· 18 commits to master since this release

ℹ️ Security context: v1.0.0 and v1.0.1 have been withdrawn due
to vulnerabilities fixed in v1.0.2. Users on those versions should
upgrade (VS Code auto-update handles this after a window reload).
See SECURITY.md
for details.

Added

  • Auto-trigger completion after call . After you accept the call
    keyword, a space is inserted and the completion popup for procedures
    opens automatically — no second Ctrl+Space needed.
  • Wrap selection into a built-in function call. Select a variable
    (e.g. x_pos) in the editor, press Ctrl+Space, pick a built-in
    function (e.g. active, abs, even), and the selection is placed
    as the first argument automatically: active(x_pos). Works for all
    48 built-in functions via VS Code's standard \$TM_SELECTED_TEXT
    snippet variable.

Changed

  • Faster completion on large files. Symbol lookup at a cursor
    position is now O(K) in the number of symbols on the target line
    (was O(N) over the whole file). Document lines are cached and shared
    across handlers. Server-side prefix filter reduces JSON-RPC payload
    by an order of magnitude once the user has typed 2+ characters.
  • Go-to-Definition no longer jumps to line 0 for system / VMID
    symbols.
    F12 / Ctrl+Click on them now correctly returns "no
    definition" instead of placing the cursor at the first line.

Tests

237 tests, all green.

Full changelog: CHANGELOG.md