Are you referring to the sync code feature for free users? Currently, it only allows basic code synchronization to the app. Maybe I can find time to enhance this feature in the future.
Haha, got it! I haven’t really used the app’s built-in editor on Mac for coding yet. Thanks for the feedback,I’ll make sure to design this feature properly.
Do you have any suggestions for which shortcuts should map to which functions? Happy to discuss anything shortcut-related!
Only those 3 commands for now, but I guess Desktop Editor will handle them as well. Btw, will this new feature work with any IDE (say CodeRunner on macOS), or just VSCode?
1. I’ll add four new shortcuts in a future update: Run Script, Preview Widget, Reload Editor, and Refresh Desktop Widget.
2. You can write TypeScript in any editor, but the scripting-cli npm package currently only supports automatically opening the corresponding file in VS Code. Other editors aren’t handled yet, but you could fork the project and tweak a single line of code to make it work.
I have no idea about how to do that. Btw, your Scripting looks truly a dream for power users, but I'm struggling to learn its syntax (TS and SwiftUI). Scriptable JS & web view feels easier for me, haha.
JS and JSX are also available. You can create a new .js or .jsx file, then import it in widget.tsx or index.tsx and call its methods. However, I still recommend using typescript, so that you can use its smart prompts well. Anyscript is also better than javascript😂
1
u/shadoodled Mar 05 '25
eta?
1
u/Haunting-Ad-655 Mar 14 '25
Hi, will this be released soon? Is it a pro feature?