Hiding the Minimap
00:00 Another detail about code editors sometimes is that they have this minimap on the side of your code. So it’s basically a minified version of your whole code.
00:10 And the idea behind it is that you are having a mental image of your code and where you have what, and you can quickly jump to parts of your code by clicking this minimap.
00:22 If you’re liking this, then leave it like it is. Personally, I never use it and for me, there is this little visual distraction on the side that I don’t need.
00:31
So that’s what I want to disable next. Again, in the editor .object.minimap
. And then again, you have a bunch of options to actually style the minimap, but I want to disable it as a whole.
00:48
So I use editor.minimap.enabled
and set it to false
. Now, since you’re in a JSON, false
is lowercase, not like the uppercase F
like in Python.
01:02 And once you save, the minimap disappears and you have a clean code editor on the right.
Become a Member to join the conversation.