Add setting for minimap on active editor only (#31390)
Release Notes: - Add a setting to show the minimap only on the current active editor (file) - This can be configured on `settings.json`: ```json { "minimap": { "display_in": "active_editor", // defaults to "all_editors" } } ``` - The minimap won't hide if you go from an editor pane to the terminal, the project panel, the search bar, etc. It will only hide if you go from one editor pane to another. Preview:  Only the active editor (left) displays the minimap.
This commit is contained in:
parent
a69ebf038a
commit
4bbb7b5c2f
3 changed files with 44 additions and 0 deletions
|
@ -400,6 +400,13 @@
|
|||
// 3. Never show the minimap:
|
||||
// "never" (default)
|
||||
"show": "never",
|
||||
// Where to show the minimap in the editor.
|
||||
// This setting can take two values:
|
||||
// 1. Show the minimap on the focused editor only:
|
||||
// "active_editor"
|
||||
// 2. Show the minimap on all open editors:
|
||||
// "all_editors" (default)
|
||||
"display_in": "all_editors",
|
||||
// When to show the minimap thumb.
|
||||
// This setting can take two values:
|
||||
// 1. Show the minimap thumb if the mouse is over the minimap:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue