Minimap Necro #26894
Replies: 6 comments 9 replies
-
|
Well done, but for the mini-map, I only care about the colors and shapes. Character shrink rendering is useless except for being messy. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Will the following features also be implemented? Vscode: When you close a piece of code in the editor, you can also see it in the minimap. Registrazione.schermo.2025-03-19.alle.16.43.20.movSome map options, visible on vscode. Registrazione.schermo.2025-03-19.alle.16.48.53.movXcode: As @jakcharvat said, some interactions found on xcode that show variable and code block names. Registrazione.schermo.2025-03-19.alle.16.54.43.mov |
Beta Was this translation helpful? Give feedback.
-
|
@SomeoneToIgnore @0x2CA I started looking into rendering blocks instead of characters, I think this is actually pretty straightforward. We can swap out the chunks for simple quads that match the width of the chunk. For hovering over it, we could render the full chunk as a one-off element in a tooltip-like component. I need to dig into this a bit more, but swapping out the ChunkRenderer or adding something to the render context to indicate that it should render as a block could work... |
Beta Was this translation helpful? Give feedback.
-
|
Just chiming in to say that I'd love the option to render color block instead of actual characters. FWIW, I seem to recall there's a font that's simply all mono blocks so that's another way to do it (I also think some minimap was done this way but I couldn't remember where). Not sure if better than replacing the characters with blocks in code though. Or maybe just draw color blocks in code rather than relying on text? That's what VS Code seems to be doing. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, Evan, for your work on the minimap. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm necroing #23957 as I am beginning work to add a minimap to the editor, following the suggestions of @SomeoneToIgnore.
I've got a draft PR that I'm working on #26893. Right now, I've got a basic minimap displaying. It's not super performant yet, I need to optimize the initialization of the minimap element. I'll be doing most of my development updates in the draft PR, but if anyone has any feedback/suggestions around usability and features, please provide it here.
Beta Was this translation helpful? Give feedback.
All reactions