VS Code’s new minimap section headers (#blogPost)

When I started coding, Sublime was the editor of choice. It was lightweight, fast and … drum rolls … had the minimap™. The minimap made the editor look fancy. I loved it. I kinda still love it because it looks cool.
VS Code, my …


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

When I started coding, Sublime was the editor of choice. It was lightweight, fast and ... drum rolls ... had the minimap™. The minimap made the editor look fancy. I loved it. I kinda still love it because it looks cool.

VS Code, my main driver these days, supports it, too.

Yet, I switched it off years ago because I didn't use it. I just wouldn't interact with it, and if something blocks 10% of my horizontal editor window, it would better be worth it.

I found that it's hard to navigate or see anything in the minimap unless I put huge comment blocks into my files.

/*
 * --------------------------------------------------------------
 * SOME VERY IMPORTANT STUFF
 * --------------------------------------------------------------
 */

And if I have these huge blocks in my code, I can spot them by scrolling in the real editor window. I don't need the minimap to find my way around then.

But the new minimap section headers might make me give the minimap another try. Put // MARK: comments in your files and voilà — the minimap starts showing something valuable.

And if these section headings aren't big enough, you can change their size. Me likey!

It's also nice, that this neat feature was a community contribution. For now, I set some marks for a project and turned on the map. Let's see if the old'n'fancy friend will stick around this time...


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2024-04-26T22:00:00+00:00) VS Code’s new minimap section headers (#blogPost). Retrieved from https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/

MLA
" » VS Code’s new minimap section headers (#blogPost)." Stefan Judis | Sciencx - Friday April 26, 2024, https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/
HARVARD
Stefan Judis | Sciencx Friday April 26, 2024 » VS Code’s new minimap section headers (#blogPost)., viewed ,<https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/>
VANCOUVER
Stefan Judis | Sciencx - » VS Code’s new minimap section headers (#blogPost). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/
CHICAGO
" » VS Code’s new minimap section headers (#blogPost)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/
IEEE
" » VS Code’s new minimap section headers (#blogPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/. [Accessed: ]
rf:citation
» VS Code’s new minimap section headers (#blogPost) | Stefan Judis | Sciencx | https://www.scien.cx/2024/04/26/vs-codes-new-minimap-section-headers-blogpost/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.