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

Enhanced Scrollbar (add minimap) #4865

Closed
jschraub opened this issue Apr 1, 2016 · 105 comments
Closed

Enhanced Scrollbar (add minimap) #4865

jschraub opened this issue Apr 1, 2016 · 105 comments
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@jschraub
Copy link

jschraub commented Apr 1, 2016

Feature Request

Add the Enhanced Scrollbar feature from VS 2013 and VS 2015 into VS Code. It's an extremely efficient way to move around within a file and would be a great feature to have in VS Code.

If this is already an extension or an option, I could not find it.

@alexdima
Copy link
Member

alexdima commented Apr 4, 2016

@jschraub Can you please point out specific features you like or that help you move around more efficiently from the Enhanced Scrollbar of VS 2013/2015 ?

@alexdima alexdima added the info-needed Issue requires more information from poster label Apr 4, 2016
@jschraub
Copy link
Author

jschraub commented Apr 4, 2016

Absolutely, @alexandrudima. The ability to at a glance, get a visual representation of your document/code. Having a "10,000 foot view" makes it easy to glance at your document and immediately click into the piece of code for which you are looking. While the Enhanced Scroll bar from VS 2013/2015 offer more features than that, I don't use many of them.

Many other code editors have similar features, including Sublime and Atom and they all have different sub-features, but I think having an offering for a "10,000 foot view" of your document at a quick glance, gives great advantage over Text Editors that do not have a corresponding feature.

Please let me know if that is what you were looking for, or it you need better/different details.

@alexdima
Copy link
Member

alexdima commented Apr 4, 2016

Great description! Thank you!

@alexdima alexdima changed the title Enhanced Scrollbar Enhanced Scrollbar (add minimap) Apr 4, 2016
@alexdima alexdima added feature-request Request for new features or functionality editor and removed info-needed Issue requires more information from poster labels Apr 4, 2016
@alexdima alexdima self-assigned this Apr 4, 2016
@nojvek
Copy link
Contributor

nojvek commented Sep 1, 2016

Hi @alexandrudima , is anyone from VSCode working on this for the next release? Is this something that the community can contribute to the scrollbar?

I'm guessing it will be some sort of reading the editor model and drawing a minimap representation of it in a canvas. wdyt?

@alexdima
Copy link
Member

alexdima commented Sep 2, 2016

@nojvek We will draft and release the September plan at the end of next week. Given this issue is climbing to the top of this query we use to track community requests (https://github.com/Microsoft/vscode/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc), it has a high change to make it on the September plan.

Please stay tuned :)

@1RedOne
Copy link

1RedOne commented Sep 13, 2016

Beta bits plz! It's my favorite feature of and the only thing keeping me tethered to Sublime Text.

@sylveon
Copy link
Contributor

sylveon commented Sep 13, 2016

Soon™

@deepu105
Copy link

👍 the minimap feature is dearly missed

@salda
Copy link

salda commented Sep 19, 2016

I miss it heavily too.

@leaxoy
Copy link

leaxoy commented Sep 20, 2016

+Infinity

@lednhatkhanh
Copy link

lednhatkhanh commented Sep 23, 2016

@+1 Minimap is one of the must-have feature for me, it works great on atom with many addons.

@sombriks
Copy link

see kate's minimap which i see as a good example on this matter: https://docs.kde.org/trunk5/en/applications/katepart/kate-part-scrollbar-minimap.html

@Credskiz
Copy link

Credskiz commented Oct 1, 2016

+1 for the Minimap. A 'hold middle-mouse button' (scrollbar button) to scroll would be great too

@octref
Copy link
Contributor

octref commented Oct 1, 2016

If we have git status, errors, other occurrence of current word, find results, peek preview window indication, basically all Sublime's minimap has + all VSCode's current scrollbar has, it'll be huge!

slice

@sylveon
Copy link
Contributor

sylveon commented Oct 1, 2016

capture

I don't see why VS Code can't if VS can.

@benjaminmatthews
Copy link

this would be a huge win and one of the last missing features for the sublime holdovers

@StefanJanssen95
Copy link

I recently discovered the use, can't wait till it's implemented

@emveeoh
Copy link

emveeoh commented Oct 7, 2016

+1 can't wait for this to be implemented in VSCode...

@AntonyBaasan
Copy link

+1 Please add soon.

@Alexdelgadodiaz
Copy link

Thank you! Willing to see it stable!

@ghiscoding
Copy link

ghiscoding commented Feb 22, 2017

Question: is it possible to have the minimap also be a cursor? This is the default behavior in VS, and this is what I see as the main differences between the 2 apps. Also note that I did install the insiders version to test it out

EDIT
Nevermind, just realized there's an open issue #20935 for that

@octref
Copy link
Contributor

octref commented Feb 25, 2017

@alexandrudima Thanks for #20947. Is it possible to have "editor.minimap.renderCharacters": false as the default to render block instead of text? IMO it looks much more pleasing and has better usability.

image

@FANMixco
Copy link

FANMixco commented Feb 27, 2017

I'd like to be able to zoom when I'm over the text or block (it depends on the final approach). Currently, I cannot read anything or know in which part of the code I am, this is useful if you're working on a large piece of code.
Also, I discovered that if I keep the click and try scrolling or moving over the minimap nothing happens, I need to stop to click and choose another section of the code.

@druellan
Copy link

@FANMixco I was thinking about your petition, but I'm currently unsure about why you need such a feature, since if you click on the minimap, the code is scrolled to that point without moving the cursor, so it is effectively the same thing as a hover/zoom. Perhaps hovering is more efficient than clicking?

@ghiscoding
Copy link

ghiscoding commented Feb 27, 2017

@druellan , I believe that @FANMixco is talking about a minimap zoom feature that is already in the regular Visual Studio as shown below
minimap_zoom

EDIT
Forgot to mention that the zoom shows up only after staying over the minimap for 2sec. If you go over the minimap and start scrolling, the zoom won't show up, you really need to stop scrolling and wait 2sec to see it.

@pohmelie
Copy link

If @ghiscoding is right about @FANMixco feature, then it definitely should be optional, since I think many people (as I do) don't like popups.

@druellan
Copy link

druellan commented Feb 27, 2017

Thanks @ghiscoding, now is more clear. I still kind of believe this is not a huge improvement over the click+slide mechanism, in fact, looks more useful WITHOUT the minimap, on the enhanced scrollbar itself. Kind of a stand-alone feature and not part of the minimap feature.

About @pohmelie suggestion, I totally agree, but I believe this also can be attached to a shortkey modificator, like ctrl+hover on the scrollbar/minimap to trigger the function.

@mika76
Copy link

mika76 commented Feb 28, 2017

@druellan This is also the same as the https://atom.io/packages/minimap-codeglance extension on Atom. 11,000 downloads seems to suggest lots of people like/need it.

Personally I do not, so if you do implement it, please make it optional. A trigger/hotkey mechanism does sound good though especially if it's implemented on the scrollbar as well as minimap.

@Sartan4455
Copy link

Is there a way to toggle it like toggle-sidebar(ctrl-b) toggle-panel(ctrl-j) ?

@sixenvi
Copy link

sixenvi commented Mar 2, 2017

I like the new minimap. One thing I'm missing is the highlighting of text found with search or find-duplicates. I attached two screenshots to visualize that matter.

image
image

@igoreliasm
Copy link

Nice feature guys!

💃

@ghiscoding
Copy link

@sixenvi I suggest you to add to a separate feature request #21404 that I asked, since your request is very similar to mine and is an open issue, so at least it's tracked.

I'm not sure that the VSCode team read comments or requests on issues that are closed, like this one here.

@FANMixco
Copy link

FANMixco commented Mar 3, 2017

Hi @druellan ! Yeah, what @ghiscoding is what I meant, maybe we could configure about the time because it's a bit confuse.

@pouyakary
Copy link
Contributor

pouyakary commented Mar 3, 2017

Hi everyone! If VS Code just missed one feature it was this and now it's compelete! Such a nice implementation and great performance. (@alexandrudima as always you fascinate me!)

Just one simple thing that I noticed:

out-of-screen-scroll

@nojvek
Copy link
Contributor

nojvek commented Mar 3, 2017 via email

@pouyakary
Copy link
Contributor

@nojvek ah didn't notice that! okay one more issue...

@Andrfas
Copy link

Andrfas commented Mar 10, 2017

One more thing would be great I think - do not hide current position on minimap (currently it is visible only on mouseover).
image
Probably having one more key in settings for this would be best.

@ghiscoding
Copy link

@Andrfas this is tracked under #21404 and #21784.

As a suggestion, you guys should stop writing in a closed issue that is not tracked anymore and search/open new issue.

@Steviey
Copy link

Steviey commented Mar 16, 2017

I want scrollbar buttons.

@gauravsaini
Copy link

Can we have map or scrollbar appear only when mouseover on the edges

@chriswiley
Copy link

@gauravsaini this is a closed issue

@deadmann
Copy link

is there a way to use older version? on one of my online cources, the teacher used map, and it categoriezed code blocks, with so many code, it's not readable at all on the side bar, so that's far far better to ignore seeing code, but have code categorized by their code blocks.

@chriswiley
Copy link

@deadmann if you want to turn the minimap off just go into your settings and find:

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

And set it to false. There is no need to go back to an older version.

@deadmann
Copy link

@deadmann if you want to turn the minimap off just go into your settings and find:

// Controls if the minimap is shown
"editor.minimap.enabled": true,
And set it to false. There is no need to go back to an older version.

I want mini-map, actually I'm the one who activated it, but i want in a simpler form, when my code grows, and with long lines, it's not simple to look at the mini-map, i mean, can you really read this?

x

I found it, an another system, where we had a big project, i just wanted to tell you that it can be unreadable in such cases, where it appeared, it may be due use of different version of VS in on that platform, or because the file got too long. but that's what i show in the image.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests