-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to VS Code's webview API #95
Comments
Just a heads up: in VS Code 1.32 (the February update), using the previewHtml command will show an alert to the user, although the command should still work. We plan to remove the command entirely with VS Code 1.33 (March update) |
Thank you @mjbvz for keeping up on this. I think @eriklieben has a plan to get things updated in the not-distant future. |
hiaux0
added a commit
to hiaux0/vscode-extension
that referenced
this issue
Jul 21, 2019
…eviewHtml Fix/aurelia#95 deprecated vscode.preview html
hiaux0
added a commit
to hiaux0/vscode-extension
that referenced
this issue
Jul 21, 2019
Closed by #98 |
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
The text was updated successfully, but these errors were encountered: