Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to autohide minimap when in split editor view #28310

Closed
attuo opened this issue Jun 9, 2017 · 10 comments
Closed

Option to autohide minimap when in split editor view #28310

attuo opened this issue Jun 9, 2017 · 10 comments
Labels
editor-minimap Code/Text minimap widget issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code workbench-editors Managing of editor widgets in workbench window
Milestone

Comments

@attuo
Copy link

attuo commented Jun 9, 2017

  • VSCode Version: 1.13.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. "editor.minimap.enabled": true

Idea: There should be an option when user is in Split Editor the minimap will be hidden automatically.
Especially on smaller resolutions the minimap takes too much space when working in Split Editor view.
For example something like this: "editor.minimap.spliteditorhide": true

@vscodebot vscodebot bot added the new release label Jun 9, 2017
@attuo attuo changed the title Autohide minimap when in Split Editor view Option to autohide minimap when in Split Editor view Jun 9, 2017
@alexdima alexdima added feature-request Request for new features or functionality editor-minimap Code/Text minimap widget issues labels Jun 13, 2017
@alexdima alexdima added this to the Backlog milestone Jun 13, 2017
@alexdima alexdima removed their assignment Nov 24, 2017
@alexdima alexdima added the workbench-editors Managing of editor widgets in workbench window label Nov 24, 2017
@quezak
Copy link

quezak commented Aug 23, 2018

I agree that it takes too much space with split editors, but I also like to look at the minimap sometimes -- maybe a nice solution would be to "auto-hide" the minimap? It would disappear when you edit code, and fade in if you, for example, start scrolling.

Update: apparently, there is already a plugin like this for Atom, thought I'll leave a link for reference.

@attuo
Copy link
Author

attuo commented Aug 24, 2018

As @quezak suggested, auto-hiding the minimap could also be a solution for this problem.
Thanks for providing the link. That plugin looks promising and something like that would be nice to have also on VS Code.

@EdrisT
Copy link

EdrisT commented May 27, 2019

Sublime text 3 also have a plugin for this, which i have used for a long time. The minimap is great when you need it, but often it just takes up way to much space, especially when you have more than one view open.
As @quezak said, the option to only show the minimap on scroll or hoover would be great, which i believe would also cover the case with the minimap taking up to much space when using multiple views.

@ghost
Copy link

ghost commented Jun 3, 2019

+1 for auto-hiding and only show on scrolling.

@Li-Aaron
Copy link

Li-Aaron commented Aug 7, 2019

+1

@AndreHorst
Copy link

+1

1 similar comment
@trancelestial
Copy link

+1

@KeithHanlan
Copy link

It seems that there are a lot of situations when a user may wish the minimap to be disabled. Perhaps a general solution is called for: editor.minimap.disableIf: ["fileFitsInView", "viewNotInFocus", "notScrolling"]

However it is implemented, it would be very nice if there was support for conditionally disabling the minimap.

@jtullett
Copy link

Definitely would be a big win for me. I use a plugin to hide the explorer, which is a big win in split view, but the minimap really does take up a ton of space, especially in the (admittedly rare) instances where VS Code isn't maximized. But I definitely do want the minimap - I use highlighted markers to indicate points in files I want to bookmark, and the minimap is a great way to zip between them.

@bpasero bpasero changed the title Option to autohide minimap when in Split Editor view Option to autohide minimap when in split editor view Sep 6, 2020
@bpasero bpasero added the *out-of-scope Posted issue is not in scope of VS Code label Dec 6, 2022
@vscodenpa
Copy link

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-minimap Code/Text minimap widget issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code workbench-editors Managing of editor widgets in workbench window
Projects
None yet
Development

No branches or pull requests