Removing the file preview on the right side of the editor in VS Code

后端 未结 14 1914
轻奢々
轻奢々 2020-12-07 09:28

This beauty appeared after a recent update, and it is very distracting to me.

I searched through the menus, but didn\'t find any setting to remove it. Is th

相关标签:
14条回答
  • 2020-12-07 09:37

    In VS, Click on View on the top toolbar, Then you will get a pop up, unselect --- Show minimap

    0 讨论(0)
  • 2020-12-07 09:41

    This is called the minimap, and, as stated in that link,

    If you would like to disable minimap, you can set "editor.minimap.enabled": false in your user or workspace settings.

    Once you save the settings file, the minimap will be gone.

    0 讨论(0)
  • 2020-12-07 09:47

    Simply Click F1 a text box will appear search for minimap and select View:Toggle MiniMap

    0 讨论(0)
  • 2020-12-07 09:48

    Oowekyala's answer is correct. I am adding a description with image for better understanding. Here is the number from 1 to 5 that describe the steps. Firstly click on File->Preferences->Settings. Then you will get User Setting page. Next, type "editor.minimap.enabled" in the search box(step-4). you will get setting option. On left of it edited option(step-5) will be available right click to it.

    0 讨论(0)
  • 2020-12-07 09:50

    You can also toggle the minimap from the Command Palette. You can go to 'View' and select Command Palette or just Ctrl+Shift+P and type in the word 'minimap', you will instantly get the option to toggle the minimap.

    minimap toggle option

    0 讨论(0)
  • 2020-12-07 09:54

    Here is an easy and quick way to remove the minimap.

    1. Right click anywhere on the minimap and select "Scroll Bar Options...".

    2. On the right side of the dialog window that pops up, you will see a section named "Behavior" under which you should select the "Use bar mode for vertical scroll bar" option.

    3. Press the OK button. This will remove the minimap.

    4. If you want to reactivate the minimap, repeat the steps above except, this time, choose the "Use map mode for vertical scroll bar" option.

    0 讨论(0)
提交回复
热议问题