Let me first start off with this: If you need the collaborative features of glitch, you can’t use this unless you take turns developing.
With that said, Reglitch is a userscript that replaces the glitch editor with a custom CodeMirror instance. There is a decent level of autocomplete in all three languages, with JS even having analysis support.
This is not close to finished, since there is so much room it can grow. There are some downsides, as there currently isn’t even a find or replace function yet.
In the future you will be able to change themes and perhaps support for language servers.
You can see the very crappy designed website and install the userscript here https://reglitch.glitch.me/
(Or just spare your eyes the pain and go straight to installing it by clicking here)
Keep in mind that the first time you use the script you’ll be prompted for permission for the script to make cross origin requests, since glitch has a strict CSP that would prevent loading the dependencies otherwise.
Also, unlike the normal editor, this editor does not autosave (yet).
You have to Ctrl+S to save a file, and the project+preview will only update after you save.
This should work on any browser you can run tampermonkey in.
Oh and it’s very fresh out of the oven, so there might be small quirks or bugs that I haven’t found yet.
whoa, so would it be possible to create an unofficial glitch extension for VS code using that + the vscode fileSystemProvider api? I gotta try making something like that
I kinda did try (I still have the code files) but it didn’t seem that straightforward unless you actually download the files locally and then load it into vscode. but if you’re trying to use virtual files in VSCode, it becomes significantly harder. then again, i gave up pretty early into trying to implement it but it’s certainly not impossible.