Vscode-cmake-tools: Upgrade to VS Code's webview API

Created on 7 Nov 2018  路  2Comments  路  Source: microsoft/vscode-cmake-tools

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: https://github.com/Microsoft/vscode/issues/62630

We'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 fix previewHtml 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

IMPORTANT bug

Most helpful comment

vscode.previewHtml finally has been dropped in vscode 1.33.0, it's a time to push for those changes :smirk:

All 2 comments

Thanks for the note. I've actually been intending to migrate for a while, as the feature that uses it is fairly broken anyway...

vscode.previewHtml finally has been dropped in vscode 1.33.0, it's a time to push for those changes :smirk:

Was this page helpful?
0 / 5 - 0 ratings