stef-levesque / vscode-3dviewer

Preview 3D meshes in VSCode
MIT License
96 stars 20 forks source link

previewHtml is no longer available #9

Closed supcik closed 4 years ago

supcik commented 5 years ago

Hello,

I just wanted to use your plugin on stl files, but when I "Open in Viewer", I get the following error (in the vscode developer tools):

ERR command 'vscode.previewHtml' not found: Error: command 'vscode.previewHtml' not found

I found that the previewHtml was deprecated and it seems that it is no longer available in the latest version of vscode.

Do you have a workaround or do you plan an updated version of your plugin ?

Thank you in advance for your reply.

paulhayes commented 5 years ago

Yeah, would be great to see a fix for this. This was a useful extension.

lwohlhart commented 5 years ago

yep really loved the extension we should definitely get it back on track

stef-levesque commented 4 years ago

Hey, sorry for not maintaining the repo over the last few months.

I've stop trying to support webview, and now focus on using custom editor in the custom-editorbranch

I'll submit a fix for the extension when the proposed API is approved

Closing as a duplicate of #10