Giter VIP home page Giter VIP logo

vsforce's Introduction

Salesforce development support for Visual Studio Code

Build Status license Version Installs Ratings

Introduction

vsforce adds support for Salesforce development to Visual Studio Code, providing features such as syntax-highlighting, auto-completion, code deployment or retrieval, etc. The extension is freely available in the Visual Studio Code Marketplace (see the badges above).

Some features are still incomplete and/or missing, but already we find it quite useful for our day-to-day work. We encourage you to give it a spin, and report any issues you encounter. Even better, we'd be thrilled if you want to fork our repo and submit new functionalities & bugfixes!

Installation

In Visual Studio Code, open the Extensions panel and search for vsforce. That's all there is to it!

Configuration

For most features to work, vsforce needs a live internet connection and the credentials for your Salesforce organization.

Simply add the information in your .settings file, as per the sample below:

{
  "vsforce.organization.username": "username",
  "vsforce.organization.password": "password",
  "vsforce.organization.securityToken": "token"
}

You can either enter the credentials in your per-project .settings file, or in your global user settings. For an in depth explanation on how to do this, see User and Workspace Settings.

If needed (ex: when using a sandbox organization), you can also specify the loginUrl and your default namespace:

{
  "vsforce.organization.namespace": "namespace",
  "vsforce.organization.loginUrl": "https://test.salesforce.com/"
}

When properly configured, a message will appear in the status bar informing you that the extension is logged to your Salesforce organization.

Using the commands

Open the Command Palette and type vsforce to see the list of available commands.

Here are some examples of the features the extension provides:

Visualforce auto-completion

Basic Visualforce language support with code highlighting, code completion, and go-to definition:

Compare

Retrieve & deploy packages

Pulls or pushes your whole project to/from your Salesforce organization, based on your package.xml file you selected.

Compare with Salesforce

Compare your local version with the version in your Salesforce organization:

Compare

Run SOQL query command

Run SOQL queries on Salesforce and display the result directly in Visual Studio Code.

SOQL

And many more

  • Show logs command
  • Push file to Salesforce on save (upcoming)
  • Apex auto-completion (upcoming)
  • Aura support (upcoming)
  • Customizable HTML table/JSON view (SOQL) (upcoming)

Contributing

Please read our Contributing guidelines.

vsforce's People

Contributors

amoreaucoveo avatar erocheleau avatar greenkeeperio-bot avatar lbenie avatar malaporte avatar tedre191 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.