Code Minimap Plugin
What is a code minimap and why is it useful?
I know a lot of people opening this thread might have done so out of curiosity rather than interest, so allow me to briefly explain.
A code minimap is like a “preview” of your script that allows you to very quickly and easily navigate your codebase by seeing the general structure and clicking to skip directly to a section.
Most IDE’s have this built in, like VS Code or Sublime. However, Studio does not, so I wrote one for you!
Why use my plugin?
Well, it’s the only code minimap for Roblox Studio that I can find at the moment.
Code minimaps greatly increase your productivity and speed. Think of all the time you spend scrolling around your scripts, now imagine cutting out 90% of that time. That’s why almost every IDE comes with one!
My plugin is customizable without any finicky settings pages or complex controls.
It is a plugin widget, so you can size and position it to your liking. It uses the script editor colors that you’ve set in Studio, so it should be recognizable and readable to you.
My plugin is very efficient and fast! It’s built off of my syntax highlighter from Lua Learning and InCommand, so it’s been tested in real world scenarios and it’s very well optimized.
How do I use your minimap?
Very simple! Press the plugin button in the toolbar to open up the minimap. Click on a line in the minimap and it’ll open the script to that line.
Select a Script in your explorer and it’ll render for that script! It’s okay to click on some parts or something- this doesn’t prevent you from using your selection! It displays the last script you’ve selected, not simply naively using the currently selected, so you can still work in your Explorer while this is open!
You can set it to display your currently editing script! No need to click on selections, just open a script and it’ll automatically render that code’s minimap!
You can also set the zoom level!
- Highlights your syntax errors in bright red to help you quickly navigate to the erroneous code
Highlights your “to do” comments to help you quickly navigate to the WIP code
Smart highlight system doesn’t falsely highlight strings, and soft matches to get all common ways you mark a “todo” comment!