Skip to main content

CommandVscodeOpen

Function CommandVscodeOpen 

Source
fn CommandVscodeOpen(
    ApplicationHandle: AppHandle<Wry>,
    _Window: WebviewWindow<Wry>,
    _RunTime: Arc<ApplicationRunTime>,
    Argument: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send>>
Expand description

vscode.open(uri, columnOrOptions?) - the built-in command every extension uses to jump to a file or open an external URL. Routes to window.showTextDocument for file:// URIs (via the sky-channel so Sky can open the editor) and to NativeHost.OpenExternal for anything else.