microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.08k stars 29.21k forks source link

Support minimap for native notebooks #115266

Open rbtyod opened 3 years ago

rbtyod commented 3 years ago

Issue Type: Bug

open a notebook and select "toggle minimap" from command menu

VS Code version: Code - Insiders 1.53.0-insider (7b0cfdd04ad530a9c8d782c618afd79290be3d64, 2021-01-27T08:59:32.031Z) OS version: Windows_NT x64 10.0.19042

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.81GB (20.86GB free)| |Process Argv|--crash-reporter-id 3e39eadc-8160-42f8-bd96-0e1478ce2612| |Screen Reader|no| |VM|0%|
Extensions (14) Extension|Author (truncated)|Version ---|---|--- vscode-markdownlint|Dav|0.38.0 vscode-open-in-application|fab|1.0.5 vscode-settings-cycler|hoo|1.0.1 gather|ms-|2021.1.0 python|ms-|2021.2.513962232-dev vscode-pylance|ms-|2021.1.2 jupyter|ms-|2020.12.414227025 remote-wsl|ms-|0.53.2 vsliveshare|ms-|1.0.3577 copy-gather-paste|Ser|1.0.9 code-spell-checker|str|1.10.2 html-preview-vscode|tht|0.2.5 vscodeintellicode|Vis|1.2.10 vscode-icons|vsc|11.1.0
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 openlogontheside:30221882 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30208930 wsl2prompt:30219162 vstry914:30244316 pythonvsdeb440:30224570 unusedprompt:30219164 folderexplorer:30219166 openfilemenucf:30219169 pythonvsded773:30223139 pythonvspyt600:30247031 core-portspanel:30233467 coreuntitledfile:30249963 ```
We have written the needed data into your clipboard because it was too large to send. Please paste.
vscodebot[bot] commented 3 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

daniarherikurniawan commented 3 years ago

Experienced the same issue: Version: 1.53.2 Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4 Date: 2021-02-11T11:45:54.515Z Electron: 11.2.1 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin x64 19.5.0

awilliamson commented 3 years ago

Minimap for Notebooks would be nice, as they usually have significant output per cell.

macsunmood commented 1 year ago

@rebornix, hi! Is there any progress/updates on this ?

madSec commented 1 year ago

With all the recent improvements I now love working with Jupyter Notebook in VS Code! A minimap is one of the few additions I regularly wish for in my daily analysis work and I can't wait to see it come true.

macsunmood commented 1 year ago

With all the recent improvements I now love working with Jupyter Notebook in VS Code! A minimap is one of the few additions I regularly wish for in my daily analysis work and I can't wait to see it come true.

This!

SanJJ1 commented 1 year ago

ditto^

twilkening commented 1 year ago

upvote

Code-Dei-Tech commented 1 year ago

I would also love this feature! I work with long data science and machine learning notebooks with lots of inline graphs in between, it's an eyesore trying to scroll through huge blocks of code and figures - a bird's eye view would be amazing

rxsen commented 1 year ago

Please add minimap to Jupyter notebooks. It is really difficult to navigate in large notebooks especially with Dark (Visual Studio) theme turned on as the scroll bar is almost invisible

macsunmood commented 1 year ago

A very needed feature!

patchie commented 1 year ago

We need this!

starball5 commented 1 year ago

Related on Stack Overflow: How can I turn on the minimap in VS Code Jupyter notebook cells?

mattehicks commented 1 year ago

Argh! Wish we had this!

valentinvdb commented 1 year ago

Yes please!

starball5 commented 1 year ago

Hey everyone, please refrain from making noisy comments. If you want to support this feature, give it a thumbs up reaction. If you want to take it a step further, actually help implement the feature. Quoting from https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions

If you find your issue already exists, make relevant comments and add your reaction. Use a reaction on the issue description rather than adding a "+1" comment.

I've seen maintainers of repos get so fed up with these kinds of comments that they lock discussion in the issue ticket to maintainers only, which is a net negative to everyone: It locks non-maintainers out from design discussion that can be a necessary precondition to writing a PR.

AJTonyKane commented 8 months ago

I just noticed that there IS what looks like the tiniest of minimaps when viewing a Jupyter Notebook in VSC. Perhaps this is a clue for those developing about why getting the feature to work as been illusive... it's actually working, but the fact that it is has been hidden because of some kind of UI rendering issue:

image

starball5 commented 8 months ago

@AJTonyKane you sure that's not just the scrollbar / outline / ruler decorations?

AJTonyKane commented 8 months ago

@starball5 : It does permit scrolling, like a mini-map, but the super tiny amber decoration inside the box in the image above is what I'm talking about. It corresponds to the place shown in window at the end of large notebook (I use amber for all comments) It has a bunch of defunct code I comment out - saved techniques or references for later. Thing is, I have a large block-comment at the top of the notebook, which likewise you can see an inkling of in the same narrow band seen in the attached when I scroll to the top, also almost microscopic:

image

nilsonlin commented 8 months ago

minimap is a must !!!

jaov2k commented 8 months ago

bumping for minimap

macsunmood commented 8 months ago

vote for minimap!

Giles-Billenness commented 7 months ago

Please add this! 🥺

whisnumurtyga commented 7 months ago

where the minimap?

TolgaCakirr commented 6 months ago

please add minimap feature for jupyter notebook for VSCode. PLEASE

Michal-Mikolas commented 4 months ago

Please, I can't live without minimap anymore :-(

Mithgroth commented 3 months ago

Bump, needs to be added.

joaofbravo commented 2 months ago

Bump

gayanlanke commented 2 months ago

Would appreciate if this feature is added. Thanks.

sandithr commented 2 months ago

This is a feature, that would greatly benefit many!

macsunmood commented 1 month ago

Bump! A CRUCIAL feature!

casluleal commented 1 month ago

UP! Minimap for Jupyter-Notebook would be amazing. VS Code is already my favorite JN tool, but having minimap would be another level, as it's common to have long files and cell outputs+charts on it.