Salesforce Org Status — VS Code ExtensionA lightweight Visual Studio Code extension that displays Salesforce Org status in the status bar and lets you refresh on demand. It detects whether the current org is a Sandbox (and classifies common environments like INTDEV, QA, UAT, SIT, PREPROD, HOTFIX, STAGING, SUPPORT) or Production, with intuitive color coding. ✨ FeaturesStatus Bar Indicator showing: Username Sandbox vs Production Detected environment type (INTDEV, QA, UAT, SIT, PREPROD, HOTFIX, STAGING, SUPPORT) when applicable Color coding: 🟢 Green — Sandbox envs (Development Environment not Developer Edition Org)🟡 Yellow — Important sandboxes like (INTDEV/QA/UAT/SIT/PREPROD/HOTFIX/STAGING/SUPPORT)🔴 Red — Production/Developer Edition OrgTooltip with rich org details fetched from CLI:Hovering over the status bar item shows org details such as:
Command Palette action: Salesforce Org Status: Refresh Status. Copy Session URL Command--Copy Session URL which work in browser. Auto-refresh when .sf/config.json changes in the workspace (via file watcher) Smart CLI fallback — Tries sf CLI first, then falls back to sfdx CLI 🧩 How It WorksThe extension executes force:org:display --json using either Salesforce CLI (sf) or SFDX CLI (sfdx). It parses the JSON output, determines org type and environment, and updates a status bar item with text, color, and tooltip. Environment detection (INTDEV, QA, UAT, SIT, PREPROD, HOTFIX, STAGING, SUPPORT) is based on simple substring checks in instance URL and Alias. If none match and the org is a sandbox, it's labeled as SANDBOX (Green). The Extension will work perfectly for DARK Vs Code themeSalesforce Org Status — VS Code Extension A lightweight Visual Studio Code extension that displays Salesforce Org status in the status bar and lets you refresh on demand. It detects whether the current org is a Sandbox (and classifies common environments like INTDEV, QA, UAT, SIT, PREPROD, HOTFIX, STAGING, SUPPORT) or Production, with intuitive color coding. Command Palette action: Salesforce Org Status: Refresh Status Auto-refresh when .sf/config.json changes in the workspace (via file watcher) Smart CLI fallback — Tries sf CLI first, then falls back to sfdx CLI 🧠 SummaryThis extension helps Salesforce developers: Instantly identify which org they are working with Avoid accidental changes in Production Gain confidence while switching between multiple sandbox environments Stay automatically updated as org configuration changes If any issue arises,please reach out to me directly "sarthak.ghosh95@outlook.com" |