Allow vscode.env.asExternalUri
to return valid results for workspace URIs
#124263
Labels
api
api-finalization
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
on-testplan
Milestone
Our current API
vscode.env.asExternalUri
currently does two things:/^https?/
URIs, it translates remote URIs into URIs which can be handled locally${appScheme}
URIs, it massages extension handling URIsWhat if we augment that API to handle any URI scheme, namely URIs which represent workspaces? Here's how that could look like:
${appScheme}
protocol which would open the given workspace when invoked. So,asExternalUri('file://Users/joao/Desktop')
would return something likevscode://open?uri=file%3A%2F%2FUsers%2Fjoao%2FDesktop
.vscode.open
.The text was updated successfully, but these errors were encountered: