Fostry for VS CodeEdit and run your Fostry's scripts in VS Code, or in code-server. Each save is a new revision in Fostry, and you can run a script without leaving the editor. Opening scripts
The first time, VS Code shows a code to enter in Fostry, which then asks whether to allow "Fostry for VS Code" to act as you. The sign-in is kept until you sign out (Fostry: Sign out), end it under your profile's sessions in Fostry, or change your password. Your Fostry's folders and scripts appear in the Explorer. Open, edit and save them as any file. When a script changed in Fostry tooScripts you have open are checked for changes made in Fostry every 15 seconds. One you haven't edited is reloaded. If you have edited it, VS Code asks when you save: compare the two, or overwrite Fostry's. A save never silently undoes someone else's change. Running a scriptFostry: Run this script, or the ▶ button above the editor, saves it and runs it where it's set to run. The output is shown in the Fostry output panel as each run ends. App WorkspacesAn app's workspace in Fostry is a git repository. App Manager's Files tab has Open in VS Code, which clones it with VS Code's own git. The extension signs git in as you, so there's no password to enter and none is stored. Pushing to the workspace's branch updates its files in Fostry, and its dev instance picks the change up. A push is refused while the files there have changes nobody committed, for example from the Files tab. A certificate this machine doesn't trustA Fostry with a self-signed certificate is trusted by its fingerprint. The link Fostry gives carries it; when you connect by hand, VS Code asks for it. What isn't hereFolders are made, renamed and deleted in Fostry, and show here as soon as they're there. |