A million editors and you pick the least capable. My go-to is a sublime text window, even if ST is not my code editor.
A million editors and you pick the least capable. My go-to is a sublime text window, even if ST is not my code editor.
I absolutely love this flow and it works so well for me now.
They are all saved in a folder on your computer and easily accessible from the “Scratches” section at the bottom of the file explorer.
It’s my go-to for any text manipulation and I think you can even configure it up to run your snippets of code if you want (I’m stuck using CodeRunner cause I’m too lazy to look more into “running” Scratches).
I also use it to paste in information as I’m debugging a problem. Then I can use multiple cursors or regex find/replace to take information and turn it into commands to run. Yes, I know about CLI tools built in to most systems and I use them to create one-liners but sometimes I want a little more direct control and/or I want to build a script from the commands.