Skip to main content

Commands

Open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and type Square Cloud. Without an account connected, the palette offers only Connect account, Get started, Upload new application, Create database and Create workspace; the last three open the sign-in first. With an account connected, the palette also runs the application and database actions. Each one asks which application or database to use and lists only the ones it applies to: Start offers applications that aren’t running, Stop and Restart the ones that aren’t stopped, and the website commands only websites. Several of these open the panel on a tab instead of printing a report: Download application snapshot… saves a new snapshot as a .zip in the folder you choose, and Upload new application opens the new application’s panel when it’s done. A command shows its progress or its result in a notification, never both. Up to version 5.x, the logs, the live stream, metrics and the website reports printed into output channels. The command IDs didn’t change, so keybindings you set keep working. The ⋯ menu of an application in the sidebar also has Add to favorites or Remove from favorites, and the workspace picker Leave workspace or Delete workspace. These four run only from there.
Version 6.0 removed squarecloud.refreshEntry and squarecloud.refreshWorkspaces, which no longer did anything. Use Square Cloud: Refresh (squarecloud.refreshCache) instead, also in your keybindings.

Settings

Activation and refresh

The extension activates only when needed: when the workspace has a squarecloud.app or squarecloud.config file, or when you open the Square Cloud sidebar, run one of its commands, open a config file, or VS Code restores one of its panels or an application opened as a folder. Until then, it has no background activity. Once active, it refreshes your account every 60 seconds. Polling pauses while the VS Code window is out of focus and refreshes as soon as you come back, so an idle editor doesn’t spend your API quota. When a rate limit is hit, background polling pauses for a few minutes and the sidebar keeps what is already on screen.

Troubleshooting

Check that an account is connected: without one, the sidebar shows the sign-in screen. If Square Cloud can’t be reached, is pausing requests or is having trouble, the sidebar says which, with Try again and Service status.
Authorizations last 90 days and can’t be renewed silently. Run Square Cloud: Connect account again. You can revoke an authorization at any time under My account › Security in the dashboard.
Your authorization is older than that feature, for example one from version 5.x without the files permissions. Click Reconnect in the tab and approve the new code. Blob storage and agent mode show up after reconnecting too.
The extension adds the MCP server only for an authorization from Connect account that includes the mcp scope, on an account with an active plan. With a pasted key or an authorization from version 5.x, use Reconnect to use Square Cloud tools in agent mode in the sidebar. See Agent mode.
The chosen folder needs a squarecloud.app or squarecloud.config file at its root. See the config file guide.
Zips are limited to 100 MB. Add build output, caches and dependency folders to squarecloud.ignore. node_modules and .git are already left out, and dependencies are installed on the platform from your manifest.
Wait before trying again. Background polling already backs off on its own, and retrying over and over only keeps the limit in place.
Open View → Output and pick the Square Cloud channel for the extension’s log, and include it when you report a bug on GitHub.
Click the status bar item or the refresh icon in the sidebar’s title bar. Remember that polling pauses while the window is out of focus.