Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Salesforce Org DetailsNew to Visual Studio Code? Get it now.
Salesforce Org Details

Salesforce Org Details

Sarthak Ghosh

|
12 installs
| (0) | Free
This extension helps you to identify the Salesforce connected org type(Intdev/QA/UAT/PREPROD/SIT/HOTFIX/PROD)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Salesforce 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.

✨ Features

Status 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 Org

Tooltip with rich org details fetched from CLI:

Hovering over the status bar item shows org details such as:

  • Company

  • Edition

  • Username

  • Sandbox/Production flag

  • Instance URL

  • Instance Name

  • Org ID

  • API Version

  • Copy Session URL Command Newly Added Command

  • A new command Copy Current Org Session URL is available in the Command Palette.

  • Copies the URL to your clipboard. Shows a confirmation message: “Salesforce Session URL copied to clipboard!”

  • ⚠️ Security Note The session URL contains a live access token. Treat it like a password: - Do not share it publicly. - Do not commit it to source control. - Use it only in trusted environments.

  • SF/SFDX both Supported now.

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 Works

The 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 theme

Salesforce 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

🧠 Summary

This 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"

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft