-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
extensionsIssues concerning extensionsIssues concerning extensionsverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededwebviewWebview issuesWebview issues
Milestone
Description
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 using vscode-resource uri directly. Reasons:
asWebviewUri(mostly) handles some tricky edge cases around network drives on windowsasWebviewUrimakes it possible to have a webviews that can load a mix of local and remote content.asWebviewUriwork much better on the web
Proposal
When developing a webview extension, warn in the console if that extension tries creating a webview that looks like it uses vscode-resource instead of webview.asWebviewUri
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
extensionsIssues concerning extensionsIssues concerning extensionsverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededwebviewWebview issuesWebview issues