move function to env, rename to openItem #66741

This commit is contained in:
Johannes Rieken
2019-01-21 15:02:15 -08:00
parent 3dd928224b
commit 96ab284b4e
2 changed files with 7 additions and 7 deletions

View File

@@ -255,7 +255,10 @@ export function createApiFactory(
},
get clipboard(): vscode.Clipboard {
return extHostClipboard;
}
},
openItem: proposedApiFunction(extension, (uri: URI) => {
return extHostWindow.openUri(uri);
})
});
// namespace: extensions
@@ -496,10 +499,7 @@ export function createApiFactory(
},
createInputBox(): vscode.InputBox {
return extHostQuickOpen.createInputBox(extension.identifier);
},
open: proposedApiFunction(extension, (uri: URI) => {
return extHostWindow.openUri(uri);
})
}
};
// namespace: workspace