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

后端 未结 14 1916
轻奢々
轻奢々 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:56

    Click on "File" -> "Preferences" -> "Settings" After Settings open, in "search settings" or press "Ctrl+f" type "editor.minimap.enabled" this will take you direct to the settings. On left of it edited option will be available right click to it. And set it to "false" After wards you can see the right side pane is hide.

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

    Ctrl + Shift + P and write minimap, Toggle minimap option will appear hit enter and it's gone.

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

    On Mac: Code - Preferences - Settings, and in the right panel add the following line:

        "editor.minimap.enabled": false
    

    Please care the commas, this file needs them after each but the last line. (It will warn you if a comma is missing.)

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

    While all the answers here will accomplish what the original question asks, they are showing a dated, manual way of hiding the minimap. Current versions of Code have a "Toggle Minimap" item in the View menu, which will hide the minimap without the need to edit anything manually in User Settings.

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

    Go to Preferences->Settings Under text-editor dropdown go to Minimap and there uncheck the enable of a minimap.

    0 讨论(0)
  • 2020-12-07 10:00

    That view is called Minimap. To toggle, goto:

    Toolbar -> View -> Toggle Minimap
    
    0 讨论(0)
提交回复
热议问题