Would it be possible to add a code formatter (such as Prettier) to Scriptable? I think it would be an extremely useful feature when writing code in a small form factor.
That’s a good idea. I didn’t know of Prettier until now and I haven’t yet checked if this is possible at all but I’ll note it down to look further into.
Thanks, it would work particularly well with a “format on save / type / etc.” option. I often find myself formatting scripts to account for the short line length on mobile so this would be a great way to automate the process. Prettier is a real treat to work with regardless and a really good companion to eslint, so I’m sure you’ll have fun if you check it out.
For reference for anyone else reading this, this is Prettier: https://prettier.io/