Warn webview extensions that use the vscode-resource:
scheme directly
#81685
Labels
extensions
Issues concerning extensions
verification-needed
Verification of issue is requested
verified
Verification succeeded
webview
Webview issues
Milestone
Problem
The
webview.asWebviewUri
is now the preferred way to load local resources in webview. We really want all webviews to migrate to using this api instead of usingvscode-resource
uri directly. Reasons:asWebviewUri
(mostly) handles some tricky edge cases around network drives on windowsasWebviewUri
makes it possible to have a webviews that can load a mix of local and remote content.asWebviewUri
work much better on the webProposal
When developing a webview extension, warn in the console if that extension tries creating a webview that looks like it uses
vscode-resource
instead ofwebview.asWebviewUri
The text was updated successfully, but these errors were encountered: