Vscode-spell-checker: Upgrade to VS Code's webview API

Created on 7 Nov 2018  ·  8Comments  ·  Source: streetsidesoftware/vscode-spell-checker

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

Done / Fixed enhancement

Most helpful comment

Thank you for the reminder.
I have been busy with creating a new settings screen. I'm almost done.

All 8 comments

That is excellent news. I will take a look during the Thanksgiving week.

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)

Just a reminder: The alert is here:

Extension 'streetsidesoftware.code-spell-checker' uses the 'vscode.previewHtml' command which is deprecated and will be removed soon. Please file an issue against this extension to update to use VS Code's webview API.

Any progress with updating the extension? Got the same message today.

Thank you for the reminder.
I have been busy with creating a new settings screen. I'm almost done.

Visual Studio Code is alerting about this usage of deprecated api these days since the latest version update. Waiting for the release ❤

You can see the progress in the webview branch.

This is fixed with 1.7.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

apptimise picture apptimise  ·  6Comments

Deilan picture Deilan  ·  3Comments

gandalfsaxe picture gandalfsaxe  ·  5Comments

gandalfsaxe picture gandalfsaxe  ·  6Comments

blackwind picture blackwind  ·  3Comments