Vscode.WorkspaceConfiguration
include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type 'a inspectResult = {
key : string;
defaultValue : 'a option;
globalValue : 'a option;
workspaceValue : 'a option;
workspaceFolderValue : 'a option;
defaultLanguageValue : 'a option;
globalLanguageValue : 'a option;
workspaceLanguageValue : 'a option;
workspaceFolderLanguageValue : 'a option;
languageIds : string list option;
}
val get : t -> section:string -> Interop.Js.Any.t option
val get_default : 'a Interop.Js.t -> t -> section:string -> defaultValue:'a -> 'a
val has : t -> section:string -> bool
val inspect : 'a Interop.Js.t -> t -> section:string -> 'a inspectResult option
val update : t -> section:string -> value:Interop.Js.Any.t -> ?configurationTarget: [ `ConfigurationTarget of ConfigurationTarget.t | `Bool of bool ] -> ?overrideInLanguage:bool -> unit -> Promise.void