Skip to main content

Commands

All commands are available via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
You can also access most commands by right-clicking in the ShardCloud sidebar or using the context menu.

Authentication

CommandDescription
ShardCloud: LoginAuthenticate with your API token
ShardCloud: LogoutSign out of your account

Application Management

CommandDescription
ShardCloud: DeployDeploy current workspace to the linked app
ShardCloud: Deploy to App...Deploy to any app (select from list)
ShardCloud: Start AppStart the linked application
ShardCloud: Stop AppStop the linked application
ShardCloud: Restart AppRestart the linked application
ShardCloud: View LogsStream application logs in real-time
ShardCloud: Link to Existing AppLink current workspace to an existing app

Quick Actions

CommandDescription
ShardCloud: Open in DashboardOpen the linked app in ShardCloud Dashboard
ShardCloud: Open WebsiteOpen the app’s website URL
ShardCloud: Sync ConfigSync .shardcloud config from the deployed app
ShardCloud: RefreshRefresh the sidebar data

Extension Settings

Configure the extension in VS Code Settings (Ctrl+, / Cmd+,) or by editing your settings.json file.

Available Settings

SettingDescriptionDefault
shardcloud.apiTokenYour ShardCloud API token-
shardcloud.apiBaseUrlAPI endpoint URLhttps://shardcloud.app/api
shardcloud.autoRefreshIntervalAuto-refresh interval in seconds30
shardcloud.showStatusBarShow ShardCloud status bar itemtrue

Configuration Examples

settings.json

{
  "shardcloud.apiToken": "your-api-token-here",
  "shardcloud.autoRefreshInterval": 60,
  "shardcloud.showStatusBar": true
}
Never commit your API token to version control. Use VS Code’s secure storage or set the token via the Login command.

Keyboard Shortcuts

You can assign custom keyboard shortcuts to any ShardCloud command:
  1. Open Keyboard Shortcuts (Ctrl+K Ctrl+S / Cmd+K Cmd+S)
  2. Search for “ShardCloud”
  3. Click the plus icon to add a keybinding

Suggested Shortcuts

CommandSuggested Shortcut
ShardCloud: DeployCtrl+Shift+D
ShardCloud: View LogsCtrl+Shift+L
ShardCloud: Restart AppCtrl+Shift+R

Status Bar

When enabled, the status bar shows:
  • Connection status - Whether you’re logged in
  • Linked app name - The currently linked application
  • Quick actions - Click to access common commands
Click the status bar item to quickly access deploy, logs, and restart actions.