提交 565cadac 编写于 作者: M Matt Bierner

Add note on lifecycle of resolved result

上级 31d946dd
......@@ -1152,7 +1152,12 @@ declare module 'vscode' {
* If the extension is running remotely, this function automatically establishes port forwarding from
* the local machine to `target` on the remote and returns a local uri that can be used to for this connection.
*
* Note that uris passed through `openExternal` are automatically resolved.
* Extensions should not store the result of `resolveExternalUri` as the resolved uri may become invalid due to
* a system or user action — for example, in remote cases, a user may close a port that was forwarded by
* `resolveExternalUri`.
*
* Note: uris passed through `openExternal` are automatically resolved and you should not call `resolveExternalUri`
* on them.
*
* @return A uri that can be used on the client machine.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册