Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUpgrade to VS Code's webview API #50
Closed
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm on the VS Code team. I noticed that your extension uses the
vscode.previewHtml
command which is deprecated and which we are actively working to remove: microsoft/vscode#62630We've developed a webview API that provides a much better developer experience and offers a number of important security and compatibility benefits over
previewHtml
. We cannot fixpreviewHtml
without breaking backwards compatibility, and have instead opted to remove it.To ensure that your extension continues to work properly in VS Code, please try upgrading to use the new Webview API. You can find documentation on the API usage here. Let me know if you have any questions or concerns about this migration