提交 57e9e1ad 编写于 作者: J Johannes Rieken

update docs for asAbsolutePath, https://github.com/microsoft/vscode/issues/105277

上级 639b3992
...@@ -5626,6 +5626,9 @@ declare module 'vscode' { ...@@ -5626,6 +5626,9 @@ declare module 'vscode' {
/** /**
* Get the absolute path of a resource contained in the extension. * Get the absolute path of a resource contained in the extension.
* *
* *Note* that an absolute uri can be constructed via [`Uri.joinPath`](#Uri.joinPath) and
* [`extensionUri`](#ExtensionContent.extensionUri), e.g. `vscode.Uri.joinPath(context.extensionUri, relativePath);`
*
* @param relativePath A relative path to a resource contained in the extension. * @param relativePath A relative path to a resource contained in the extension.
* @return The absolute path of the resource. * @return The absolute path of the resource.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册