Visual Studio Code disable sidebar code slider thing

Dave

How do I get rid of the sidebar thing below?:

enter image description here

flolilo

The thing is called Minimap.


Recommended: To change it from within VS Code...

  • on all systems, the easiest way is to use the menu: View -> Toggle Minimap (as shown on the screenshot below).

Screenshot of VSCode menu

  • on all systems, you can also press Shift+Ctrl+P (on Mac, Ctrl is replaced by ) and search for Toggle Minimap within the Command Palette.

As with all settings in VS Code, you can also change it via settings.json.

  • on Windows / Linux, you can press Ctrl+, (it's a comma). (This could also work on OSX, but I have not found a reference and I cannot test it myself).
  • on all systems, you can press Shift+Ctrl+P (on Mac, Ctrl is replaced by ) and then search for Preferences: Open user settings.

Now, you should see a new file-tab called User settings and in it a two-pane viewer with its own search bar.

There, you look for editor.minimap.enabled and change its value to false. (You can also just add "editor.minimap.enabled": false to your settings.json and save it.)

If you want to change it for your current project only, you can select Workspace Settings to the right of the setting window's search bar.

That's it!


If you want to edit it from outside VS Code for some reason, open in...

  • Windows: %APPDATA%\Code\User\settings.json.
  • OSX: $HOME/Library/Application Support/Code/User/settings.json.
  • Linux: $HOME/.config/Code/User/settings.json.

Then, just add "editor.minimap.enabled": false to your settings.json and save it.

If you want to change it for your current project only, you can also look in your project's .vscode-folder - there, another settings.json can be found.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Disable peek in Visual Studio Code

From Java

Disable Visual Studio code formatting in Razor

From Java

Disable tooltip hint in Visual Studio Code

From Dev

How to disable PHP validation in Visual Studio Code?

From Dev

Disable VS Code Output Window (not Visual Studio)

From Dev

Visual Studio Code Java: Disable serialVersionUID warning

From Java

visual studio code disable auto wrap long line

From Java

How do I disable Visual Studio Code auto save

From Java

How can I disable live code analysis in Visual Studio 2017?

From Dev

How can I disable GPU rendering in Visual Studio Code

From Dev

How do I disable tabs in Visual Studio Code?

From Dev

visual studio code disable auto wrap long line

From Dev

How to disable PSScriptAnalyzer's PSAvoidUsingCmdletAliases in PowerShell Extension in Visual Studio Code

From Dev

Disable auto wrap long line in Visual Studio Code

From Java

How do I hide certain files from the sidebar in Visual Studio Code?

From Java

Visual Studio Code formatting for "{ }"

From Java

Are there bookmarks in Visual Studio Code?

From Java

Visual Studio Code includePath

From Dev

Visual Studio code and virtualenv

From Dev

Code Highlight for visual studio

From Dev

Visual studio Code with python

From Dev

Visual Studio code and virtualenv

From Dev

Visual Studio Code: Paperscript

From Dev

How to disable file filtering in VS Code Sidebar / Explorer?

From Dev

Visual Studio Code coexist with Visual Studio 2013

From Dev

Visual Studio Code coexist with Visual Studio 2013

From Dev

visual studio code JavaScript code completion

From Dev

Indent/format code in Visual Studio code on MAC

From Dev

How to format code in Visual Studio Code on Windows

Related Related

HotTag

Archive