I’ve been working on a big update to Monarch (formerly Glitch Autocompletions), and I can’t wait to share it with y’all.
So, without further ado, let’s begin.
What is Monarch?
Monarch is a browser extension that tweaks the Glitch editor to add nice little features here and there (see below for features).
It was initially made for just JavaScript Autocompletions, but I’ve developed it to add quite a few more things.
Features
Autocompletions
Monarch adds (extremely) simple autocompletions for any .js (JavaScript) file you make.
They aren’t in any way perfect, as development is still going on, but they are nice to have sometimes.
Asset Folders
The big thing that Monarch 4.0 adds are Asset Folders.
Folders are a nice way to group your heaping mess of assets into nice little bundles of colour.
Additional Themes
Monarch has a not-so-simple feature to choose alternate themes for the Editor.
They aren’t great, but it’s a proof of concept.
I’m interested, how do I get it?
You need to make sure that your browser is Chromium-based.
After you have verified, you can install Monarch (Click the link to see installation steps).
Thanks
Thanks to Tiago for helping clean up a little code and improve performance.
Thanks to all y’all for the support and help with the (many) problems I’ve encountered.
Outro
I hope at least one person found this write up interesting, as it was quite a long one.
And that’s all I’ve got,
Thanks and Cheers.
(Oh, and Tiago. I am working on stopping autocompletions inside strings)
Looks really nice! I just noticed there’s a bug where the themes mess up on start, and you have to change and then re-select your theme for it to work correctly. [issue]
Apparently, its a manifest v3 feature that Firefox doesn’t support, and so you have to give candy to both Firefox and v3 (Chrome) so that they’re both happy.
I think you can detect whether we’re in a string by looping through every character of the editor’s value and search for 'smth', "smth" and the ` (markdown inline-code breaks with that character) and converting to smth like…