Removing vscode.previewHtml command?

It was removed from VS Code: https://github.com/microsoft/vscode-extension-samples/pull/178

For some reasons previewHtml is implemented with a webview. I’m trying to complete webview support in Theia, but it affects this command, i.e. we have to hook it in the shell as well, give it an id, some internal webview type. I wonder since VS Code does not support such command anymore and VS Code extensions don’t rely on it. Can we remove this command instead? cc @florentbenoit

[original thread by Anton Kosyakov]

PR introduced it:https://github.com/eclipse-theia/theia/pull/4375 Unfortunately I cannot find Vatalii Parfonov on Spectrum. @abazko, @yevhen, @artem-z could you check with him whether this command is required for theia plugins?

Release notice from VS Code: https://code.visualstudio.com/updates/v1_33#_removing-the-vscodepreviewhtml-command

It was to handle fabric8 analytics but it has been moved to webview now: https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/257

it seems lot of extensions are using it https://github.com/search?l=TypeScript&q=vscode.previewHtml&type=Code but looks like they’re obsolete extensions as well now. I’m fine to drop the support