Update!
- Rewritten internals to be more performant and hopefully have fewer edge case behaviors.
- New UI that matches Studio’s design and is more intuitive!
Thank you for creating this! It will be helpful to me, especially as my scripts are getting longer and longer…
I have brought both your outline plugin and minimap plugin, but I have a request. Can you please make a feature that lets you increase the selection scope, because you can only click a line which is very hard to click on a specific line and if the preview is small to capture the entire script. Make it like vs code where you can select the part that is visible in screen rather than a certain line.
Is there a way to change the color of it(showing the errors and other stuff) for colorblind people?
This is actually a good idea… and shouldn’t be too hard… just add an image label next to a line of code where an error would be found, and also could make it toggleable.
It’s not really a bug but the keyword “plugin” isn’t colored correctly.
Roblox used to color that as a keyword incorrectly (so I intentionally did the same), I’m glad to see that’s improved!
would this be updated with the new ScriptDocument API? i’m curious as these things don’t really work for team create. thanks!
I’ll put that on my todo list, thanks for bringing it to my attention!
This plugin has been completely remade from scratch! Now it uses the new Roblox ScriptDocument APIs so it supports Team Create and shows your viewport position. Slightly improved the UI as well! (Also uses Wally and Fusion now so it doesn’t pain me to maintain)
Thank you to @reimakesgames for reminding me!
While changing my script editor themes I’ve found that the codeminimap now shows all text as black on the preview, this is shown on the image attached:
I didn’t even know that plugins can let you do all of this. Like, the Plugin Security Identity.
Wait why is there _Index
just like there is in CoreScripts? What tool generates these?
Unfortunately it’s due to roblox cutting off the textbounds, and the plugin uses it instead of the document’s linecount * textsize.
I also changed some code with the theme so it should attempt to use your actual theme colors (but I don’t think it will update if you change it)
I made a really poor fix in the mean time. Here it is:
CodeMinimap.rbxm (366.4 KB)
What’s the correct procedure to install it? I just drag and drop into the plugins folder. Thanks!
Have you tried using it on a smaller script? Try making a new one with 10 lines or so. It might just be loading the script in the mean time.
You’re right, it just needed to load. This script is 3k lines of code, and it’s basically my entire game, so that’s why I need this minimap so badly
Thank you so much!
I just realized the minimap won’t update when adding new lines to the script, I just moved the fix at the part where the text document updates now.
Not sure how it will affect performance on your 3k+ lines script, but here’s the updated version.
CodeMinimap.rbxm (366.6 KB)
not good lol