Repository navigation
Releases: wiktormalyska/virga
Releases · wiktormalyska/virga
Release list
Virga 0.1.1
Changed
- Shorter, simpler description on the Marketplace and Open VSX.
Install
- VS Code: Marketplace or
code --install-extension WiktorMayska.virga - Open VSX editors: Open VSX
- Or download
virga-0.1.1.vsixbelow and use Extensions: Install from VSIX...
Virga 0.1.0
0.1.0 - 2026-10-15
Initial release.
Added
- Apex and SOQL scratches. Status bar buttons open throwaway
scratch-<n>.apex/scratch-<n>.soqltabs in a Salesforce DX project
(files in.sfdx/virga-scratch/, so the Apex and SOQL language servers work
in them). - Ctrl+S runs a scratch (Cmd+S on macOS) in the project's default org with
sf apex run/sf data query, using the text shown in the editor at that
moment. Only Ctrl+S in the scratch, the run button in its title or
Virga: Run Scratch runs it; saves never do. One run at a time, a second
Ctrl+S is queued. The binding outranks the IntelliJ IDEA keymap's Ctrl+S
(Save All) in scratch editors only. - Colored output in the Virga output channel: compile errors and
exceptions with the source line and a caret, stack traces, every debug line
with its level, limits; SOQL results as a table with flattened relationship
fields, subquery counts and truncated long values. - Closing a scratch discards it without a "save changes?" question (short
auto save as theapex-anon/soqllanguage default, with retries when a
background save fails). Restored, orphaned and externally deleted scratches
are cleaned up; two windows on one project never delete each other's
scratches. - Completion of types declared in the current Apex file (top-level and
inner classes, interfaces, enums), which the Apex language server does not
offer. - Diagnostics and quick fixes for signatures that break the Apex language
server's member completion: raw or incomplete collection types in
@InvocableMethod,@AuraEnabled,@Http*,webserviceandglobal
signatures, raw collection return types and cut-off parameters. - Apex snippets for what the Salesforce Extension Pack's own snippets do
not cover: annotations (inserted after a typed@), keywords and modifiers
such asreturn,break,else ifandwith sharing, DML statements,
user- and system-mode DML andDatabase.queryWithBinds;WITH USER_MODE/
WITH SYSTEM_MODEfor Apex and.soqlfiles. No prefix repeats one of the
pack's, so no suggestion shows up twice. - No telemetry. Virga sends nothing, and the
sfruns it starts have
sf's own usage telemetry turned off (SF_DISABLE_TELEMETRY=true). - Settings
virga.scratch.timeoutSeconds,virga.scratch.maxColumnWidth,
virga.scratch.clearOutputOnRun. - A one-time hint when a scratch is created without the Salesforce Extension
Pack's language support; no hard dependency on it.
Install
Until it is on the Marketplace: download virga-0.1.0.vsix below, then run code --install-extension virga-0.1.0.vsix or use Extensions: Install from VSIX... in VS Code.