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
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.
Ctrl + Shift + P and write minimap, Toggle minimap option will appear hit enter and it's gone.
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.)
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.
Go to Preferences->Settings Under text-editor dropdown go to Minimap and there uncheck the enable of a minimap.
That view is called Minimap. To toggle, goto:
Toolbar -> View -> Toggle Minimap