diff --git a/package.json b/package.json index 731efe8..9adb833 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rescript-vscode", - "version": "0.0.17", + "version": "0.0.18", "description": "VS Code bindings for BuckleScript", "main": "index.js", "scripts": { diff --git a/src/VSCode.res b/src/VSCode.res index fd11757..069f5d8 100644 --- a/src/VSCode.res +++ b/src/VSCode.res @@ -299,6 +299,8 @@ module Commands = { | @as("setContext") #setContext(string, bool) ] => Promise.t<'a> = "executeCommand" @module("vscode") @scope("commands") + external getEditorLayout: (@as("vscode.getEditorLayout") _, unit) => Promise.t = "executeCommand" + @module("vscode") @scope("commands") external executeCommand0: string => Promise.t<'a> = "executeCommand" @module("vscode") @scope("commands") external executeCommand1: (string, 'arg0) => Promise.t<'a> = "executeCommand"