Move Visual Studio Code minimap to the left?

Is there a way to move the minimap in Visual Studio Code to the left side of the screen?

I have looked through all the documentation and cannot find an option for it.

+3


source to share


4 answers


Moving the minimap to the left was added in v1.20: minimum position



 "editor.minimap.side": "left"

      

+2


source


No, but you can flip what you are trying to achieve: Menu Bar | View> Move Sidebar Right



+1


source


You won't like this answer, but not yet.

I think they put it on the right so that it is next to the scrollbar, offering a second way to move to the file, close to the first.

But there is a feature request regarding this: https://github.com/Microsoft/vscode/issues/24395

Currently the only minimap options are:

// Controls if the minimap is shown
"editor.minimap.enabled": true,

// Controls whether the minimap slider is automatically hidden.
"editor.minimap.showSlider": "mouseover",

// Render the actual characters on a line (as opposed to color blocks)
"editor.minimap.renderCharacters": true,

// Limit the width of the minimap to render at most a certain number of columns
"editor.minimap.maxColumn": 120,

      

0


source


Minimap.Side Added to MS Code

Added the ability to move the mini-map to the left or right side of the screen. See this from the release notes:

Show minimap on the left :

A new option will appear editor.minimap.side

that can be configured to render the minimap (code outline) on the left.

STEPS

  • Open the Command Palette (โ‡งโŒ˜P on macOS)
  • Finding and Opening Custom Settings
  • Open default settings document open
  • Find a property "editor.minimap.side": "right",

  • Hover over the property to see the edit icon.
  • Click the edit icon to edit the property (in the right pane).
  • Set the property "left"

    or"right"

  • Save your changes
0


source







All Articles