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

Salesforce Org Details

Sarthak Ghosh

|
138 installs
| (0) | Free
A lightweight VS Code extension that detects your connected Salesforce org type (INTDEV, QA, SIT, UAT, PREPROD, HOTFIX, PROD) by different color, generates Session URLs, shows full org details via an intuitive hover tooltip, and displays org metadata statistics & limits through charts 📊.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 Salesforce Org Detail — VS Code Extension

-> Monitor, explore, and understand your Salesforce org instantly from your status bar.

A lightweight and powerful Visual Studio Code extension that displays Salesforce Org Status directly in the status bar after hovering on Org Info. Instantly know whether you're connected to Production or a Sandbox, including smart environment classification such as INTDEV, QA, UAT, SIT, PREPROD, HOTFIX, STAGING, SUPPORT — all with intuitive color coding.Along with this you can directly get the detail info about your connected Org(View Metadata Statistics by different Chart,Org Status) and generate the Session URL.


Version License Status Last Updated Vscode Salesforce

Prerequisites

Before setting up the Salesforce Org Detail Extension for VS Code, ensure the following requirements are met:

  • ✅ Salesforce Extensions for Visual Studio Code and Salesforce CLI
    Install the official Salesforce Extension Pack and Salesforce CLI(SF Version) to enable Salesforce development features.

  • ✅ Visual Studio Code (v1.105 or higher)
    Make sure you are using Visual Studio Code version 1.105 or higher.

  • ✅ Try to Use Dark Theme to get Better View
    Make sure you are using Visual Studio Code Dark theme for development.

  • ✅ Use Salesforce Project Workspace Folder Containing sfdx-project.json File
    Make sure you are using Visual Studio Code Standard Salesforce Project With Manifest (sfdx-project.json) directory.


✨ Features

🔹 Status Bar Indicator

Shows real‑time Salesforce org details On hover of Org Info:

  • Username
  • Sandbox vs Production
  • Detected environment type
  • Color‑coded status indicator
  • Generate Session URL to Direct login
  • Copy Org Details Info

🎨 Color Coding

Color Meaning
🟢 Green Normal Sandbox environments (excluding Developer Edition)
🟡 Yellow Critical Sandbox tiers: INTDEV / QA / UAT / SIT / PREPROD / HOTFIX / STAGING / SUPPORT
🔴 Red Production or Developer Edition org

📝 Rich Tooltip Details

Hovering over the status bar shows detailed org info fetched via CLI:

  • 🏢 Company
  • 🏷️ Edition
  • 👤 Username
  • 💼 Org Type (Sandbox / Prod + Environment Tag)
  • 🔗 Instance URL
  • 🖥️ Instance Name
  • 🆔 Org ID
  • 🧩 API Version
  • 🌍 Region Info (Location • Timezone • Locale)
  • 💾 Data Storage Usage (MB/GB/TB + percentage)
  • 🗃️ File Storage Usage (MB/GB/TB + percentage)
  • 🚦 Org Status (Operational / Maintenance)
  • 📦 Release Version
  • 🕒 Next Maintenance Window

Includes Salesforce Trust API powered insights like status, location, release version, maintenance window.


🔗 Copy Session URL Command (New)

📋 Copy Current Org Session URL

  • Copies your active Salesforce session URL to the clipboard
  • Confirmation message:
    “Salesforce Session URL copied to clipboard!”

⚠️ Security Note

🚨Session URL contains a live access token — treat it like a password:

  • Do NOT share
  • Do NOT commit to Git
  • Only use in trusted environments

📑 Copy Salesforce Org Details Info (New)

📋 Copy Salesforce Org Details Info

  • Copies your connected Salesforce org Details to the clipboard
  • Confirmation message:
    “Salesforce Org Detail copied to clipboard!”

📊 View Salesforce Org Details Statistics (New)

📋 View Salesforce Org Details Statistics

  • Opens a rich dashboard view inside VS Code
  • Displays detailed Salesforce org statistics including metadata counts (Flows, Apex Classes, Triggers, VF Pages, VF Components, LWC, Aura, Custom Objects, etc.)
  • Interactive charts (Bar, Pie, Donut) for quick visualization
  • Refresh button with progress notifications:
    “Refreshing Salesforce Org Statistics...🔄” → “✅ Refresh done”
  • Helps developers instantly analyze org complexity and metadata footprint without leaving VS Code .
  • Limits of entire org is displayed under Org Details Statistics command.

🔧 Additional Highlights

  • Supports both SF & SFDX CLI
  • Auto‑refresh when .sf/config.json changes
  • Smart CLI fallback: tries sf → falls back to sfdx
  • Optimized for Dark Theme VS Code
  • Accurate environment detection via alias + instance URL

📘 Commands Overview

Title Command ID Description
SFORG: Refresh Salesforce Org Status🔄 salesforceOrgStatus.refreshStatus Refreshes Salesforce org status and updates UI.
SFORG: Copy Current Org Session URL🔗 salesforceOrgStatus.copySessionUrl Copies the active Salesforce org session URL.
SFORG: Copy Salesforce Org Details(Tooltip) Info📑 salesforceOrgStatus.copyTooltip Copies detailed Salesforce org information to clipboard.
SFORG: View Salesforce Org Details Statistics📊 salesforceOrgStatus.showOrgStats Displays Salesforce org statistics including metadata and usage details.

🧩 How It Works

The extension executes Salesforce CLI commands in backend to check your org is connected or not,Based on the Alias and instance URL,it can detect env type.

📬 Contact for Issues and Support : ➡️ Email

🤝 Connect with Me

Feel free to connect with me through the platforms below:

GitHub LinkedIn Portfolio

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