nikeee / dot-vscode

MIT License
1 stars 1 forks source link

vscode.previewHtml has been deprecated by Webview API #9

Closed Freed-Wu closed 7 months ago

Freed-Wu commented 7 months ago

https://stackoverflow.com/questions/63069694/i-get-the-command-vscode-previewhtml-not-found-error-message-on-vscode

The vscode.previewHtml command has been deprecated since the introduction of the webview API. The webview API is significantly easier to work with, correctly supports different filesystem setups, and webviews also offer many security benefits over htmlPreviews. For these reasons, we would like all extensions to switch over the using the webview API and eventually remove the vscode.previewHtml command entirely.

Freed-Wu commented 7 months ago

I found latest webview API support in https://github.com/joaompinto/vscode-graphviz.