Sublime Forum

Minimap 2.0: Temporary outline in edit view

#1

There’s an awesome feature in the online editor demo makepad.dev, you can try it by going on the web app, clicking one of the open editor source code tabs, click anywhere in the code, and hold the alt key down.

It zooms part of the code out to show an outline of the code, kind of like the minimap except the two topmost levels are kept in normal size. It’s in the editor view so you can still do selections or move the cursor until you let go of the key.

It makes it very convenient to navigate files bigger than one page, and it’s extremely cool.

0 Likes

#2

Admittedly, it’s great. I would use it a lot. But I don’t think the current ST rendering engine is able to do anything like that. Let’s hope for the future.

0 Likes

#3

It looks cool, but I prefer a tree view or something like Sublime Text’s list of symbols for actual work. I also always disable mini-maps and similar.

0 Likes

#4

It can’t be done with the current plugin API but I don’t see why the rendering engine wouldn’t be able to do that

It needs to change the font size per line (including line numbers.) Smooth animation already works when scrolling

I’m also wondering if the minimap could be more usable if specific lines are made bigger (function names etc)

0 Likes