mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-25 23:45:56 +01:00
add some jsdoc #66741
This commit is contained in:
Vendored
+9
-1
@@ -19,10 +19,18 @@ declare module 'vscode' {
|
||||
//#region Joh - vscode.open
|
||||
|
||||
export namespace env {
|
||||
|
||||
/**
|
||||
* Opens an *external* item, e.g. a http(s) or mailto-link, using the
|
||||
* default application.
|
||||
*
|
||||
* *Note* that [`showTextDocument`](#window.showTextDocument) is the right
|
||||
* way to open a text document inside the editor, not this function.
|
||||
*
|
||||
* @param target The uri that should be opened.
|
||||
* @returns A promise indicating if open was successful.
|
||||
*/
|
||||
export function open(uri: Uri): Thenable<boolean>;
|
||||
export function open(target: Uri): Thenable<boolean>;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
Reference in New Issue
Block a user