skip to Main Content

I am using vscode in windows. After a update, my image viewer becomes a gallery-like version, like image1:new version
However, I prefer old view(same with ssh to ubuntu server), which, an image is just an image, whithout any gallery function, like thisold and linux version.
How should I change my setting? Or how to achieve this?

I search the Internet, but I can not find a formal discussion. I expect to know how to set my vscode.

2

Answers


  1. Chosen as BEST ANSWER

    many thanks to starball and Matt Welke. You are my saver. I finally figure out this problem is caused by a ext: Office Viewer(Markdown Editor). Things becomes all right after I uninstall it. Thanks!!!!


  2. This was found by doing an extension bisect to be a feature-contribution of the cweijan.vscode-office extension.

    If you don’t want this feature of that extension, you can either disable the extension completely, or you can probably look into disabling just that part of it for image files by putting some variation of the following in your settings.json file to go back to VS Code’s builtin image custom "editor" (for more info about custom editors:

    "workbench.editorAssociations": {
        "*.png": "imagePreview.previewEditor",
    }
    

    For more info about custom editors in VS Code in general, see the related API docs.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search