Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Salesforce Object ExplorerNew to Visual Studio Code? Get it now.
Salesforce Object Explorer

Salesforce Object Explorer

Revanth Reddy Maturu(Z Labs)

|
28 installs
| (0) | Free
Explore Salesforce object metadata and run SOQL queries directly in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Salesforce Object Explorer

Salesforce Object Explorer Logo

A Visual Studio Code extension to explore Salesforce objects, view metadata, and execute SOQL queries directly from your editor.

Overview

The Salesforce Object Explorer simplifies working with Salesforce by integrating object exploration and querying into VS Code. Whether you're a developer debugging Apex or an admin analyzing data, this extension provides a lightweight, intuitive interface to interact with your Salesforce org.

Key Features

  • Object Selection: Browse and select Salesforce objects from a sidebar tree view.
  • Metadata Inspection: View fields, record types, and page layouts for any object.
  • SOQL Query Builder: Build simple SOQL queries with a UI or write custom queries manually.
  • Query Results: Display query results in a readable format within VS Code.
  • Webview Interface: Interactive sidebar powered by a clean UI for a seamless experience.

What It Does

This extension connects to your Salesforce org via the JSForce library, retrieves metadata, and lets you:

  • Explore object structures without leaving VS Code.
  • Run ad-hoc SOQL queries to fetch data.
  • Debug or prototype queries before using them in Apex or scripts.

Installation (Development Setup)

To set up the extension locally for development or testing:

Prerequisites

  • Node.js (v16+ recommended)
  • npm
  • Visual Studio Code
  • A Salesforce org with API access

Steps

  1. Clone the Repository:

    git clone https://github.com/revanthreddymaturu/salesforce-object-explorer.git
    cd salesforce-object-explorer
    
  2. Install the required dependencies:

    npm install
    
  3. Compile the Extension: Compile the extension using Webpack:

    npm run compile
    

    This will bundle TypeScript code into the final extension file located in out/extension.js.

  4. Launch the Extension: Open the project in VS Code.

    Press F5 to start debugging. This will open a new VS Code window with the extension loaded.

  5. Connect to Salesforce: Authenticate with your Salesforce org.

    Configure your Salesforce credentials (e.g., username, password, and security token) either through the extension’s settings or via prompt.

Usage

  1. Open the Explorer view in VS Code.

  2. Navigate to Salesforce Explorer under the tree view.

  3. Select an object to view its metadata or run a SOQL query.

    Example query:

    SELECT Id, Name, CreatedBy.Name, (SELECT Id FROM Opportunities) FROM Account LIMIT 10
    

Roadmap

  • Enhanced Query Builder: Improve the query builder to better handle relationship fields.
  • Export Query Results: Add functionality to export SOQL query results to CSV/JSON formats.
  • Refresh Button for Metadata: Add a refresh button to retrieve updated metadata from Salesforce.
  • Nested Subquery Display: Show nested subqueries in tables for better readability.

Contributing

We welcome contributions! Here's how to get involved:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature
    
  3. Make your changes and test them locally with:

    npm run compile
    
  4. Commit your changes:

    git commit -m "Add your message"
    
  5. Push your changes:

    git push origin feature/your-feature
    
  6. Open a pull request.

License

This extension is licensed under the MIT License.

Acknowledgments

  • Inspired by Salesforce Developer Tools.

Questions?

Feel free to open an issue.


Copyright (c) 2025 none!!

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