vscode-sys 0.1.0

Raw bindings to the vscode API for projects using wasm-bindgen.
Documentation
1
2
3
4
5
6
7
8
9
10
use js_sys::Array;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(module = vscode)]
extern "C" {
    pub type ExtensionContext;

    #[wasm_bindgen(method, getter)]
    pub fn subscriptions(this: &ExtensionContext) -> Array;
}