For most of us, the vscode feature minimap (a floating file preview pane) is annoying! If you would like to disable it, here are the steps.
- Open vscode File menu.
- Click Preferences.
- Click Settings.
- In the search settings, search for editor.minimap.enabled
- Uncheck – Controls whether the minimap is shown.

Notes: This setting is tested in Windows Visual Studio Code Editor. VSCode identifies this preview pane as the minimap.