WarpScript and resulting JSON are sent gzipped between the client and the server
(experimental) You can close all the JSON result files to clean your workspace (command Ctrl+Shift+P > "Close all Warp 10 JSON output in the workspace" command)
Code Debug/Profile
Supports the TracePlugin for debugging and profiling WarpScript.
Tips
To slow down autocompletion, you can use VSCode built in configuration editor.quickSuggestionsDelay
// @endpoint http://xxx/api/v0/exec at the beginning of the script change the remote execution endpoint
// @localmacrosubstitution false at the beginning of the script deactivate the local macro substitution
// @preview none at the beginning of the script disable the preview. gts or image force the focus to the GTS or image preview after execution. json focus on the json and format it. discovery open a discovery dashboard render view.
// @timeunit ns uses nanoseconds instead of microseconds
// @include macro:subdirectory/macroname forces to include this macro at runtime.
// @oauth, // @realm, // @user, // @totp are used to get an authentication bearer from the endpoint using oauth.
// @clientid, // @realm are used to get an authentication bearer from the endpoint using m2m id and secret.
You can set the VSCode default language to WarpScript (Ctrl+, search for default language settings). Every new file (Ctrl+N) will be a WarpScript.
Graph interactions
Alt + Mouse wheel : Zoom
Click + Drag : Select to zoom
Shift + Click : Pan
Double-Click : Restore zoom
a : show all GTS
n : hide all GTS
b : select one GTS, then the other one. Maj+b for reverse browsing