How would I disable the minimap in Xcode?

Solution 1:

Updated for Xcode 13

Open a code file, such as *.swift, and press the second from the right button in the top right corner. Then click on Minimap:

In older versions of Xcode, this looked as follows:

Solution 2:

in XCode 12.0.1

there are 3 ways to hide or show Minimap. first, you can do it with the Adjust editor option (see the following image).

next way: check or uncheck Minimap from Editor(menu) -> Minimap. (like following image)

and the last way you can use ⌃⇧⌘M and show or hide Minimap.

Solution 3:

Navigate to Adjust Editor Options (at the top right corner, to the left of the Add Editor Below button) and uncheck Minimap (or press ^⇧⌘M).

Screenshot of the Adjust Editor Options contextual menu

Solution 4:

This is called minimap window which give you insight of where you're in part of whole storyboard/code. This feature was introduced in Xcode11 and is quite useful.

You can show/hide simply by using shortcut key as: cmd + shift + ctrl + M.

Alternatively, you can choose 'Adjust Editor Options' i.e multi-lined stacked icon present on top right of Xcode. Deselect Minimap from dropdown list to hide it and Select to show it.

Screenshot