I still find editing code much better on the Mac. Specifically I use VS Code. However one nice surprise is if I edit my Scriptable scripts from my Mac they automatically update in the Scriptable editor. Even if I have the same script opened in Scriptable.
I just pointed VS Code at ~/Library/Mobile Documents/iCloud~dk~simonbs~Scriptable/Documents
First I thought this would require a bit of hacking like @BishopJb suggested, but on my second search I found this: https://scriptable.app/mac-beta/
It seems to be in sync with whats on the phone!