VS Code Extension Api: How to trigger Image Preview

Viewed 755

There is method workspace.openTextDocument, but how could I trigger VS Code's built-in image preview functionality ?

1 Answers

You can try to disable some extensions and see if the old preview style back.

For me, this go back after I disable office viewer extension, which change the preview style.

Related