ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

DXMate

by jtowers ST3

Sublime Text 3 plugin to provide integration with the Salesforce DX CLI

Details

Installs

  • Total 5
  • Win 0
  • OS X 4
  • Linux 1
Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

dxmate

Sublime Text 3 plugin to provide integration with the Salesforce DX CLI

Instructions

  1. Install the DX CLI
  2. Run Package Control: Install Package from the command palette in Sublime and search for 'dxmate'
  3. In the command pallette run Package Control: Satisfy Dependencies

Features

Supports most useful CLI commands including: * Create a project * Authorize dev hub * Create\open scratch orgs * Push\Pull source * Create Apex classes * Run tests for an org or specific class * Run SOQL query

This plugin also supports: * Code completion * Diagnostics

Language services (e.g., code completion and diagnostics) are provided by the Apex Language Server

Settings

  • debug: true or false to enable/disable printing debug statements to the sublime console
  • java_home: location of your java binary if it is not in your PATH

Getting Started

The plugin adds a new menu item (DXMate), context menu items, and command pallette items. Many of these are only enabled if you have an sfdx project currently opened.

If you don't have an sfdx proejct created, you can use DXMate > Project > Create Project to create one. If you do have one created, use Project > Add Folder to Project to add it to a project.

After that you can work with the rest of the commands (e.g., authorizing a dev hub and then creating a scratch org).

To Do

  • Additional settings (e.g., disable language services)
  • Better handling of window opening (currently only starts language server if dx project is loaded when sublime is opened)
  • Add goto symbol definition from latest language server update
  • Add support for additional sfdx cli commands

Compatibility

This should be compatible with windows, osx and linux with ST3.

It's been tested on windows 10 and ubuntu 16.

Credits

  • Most utility functions are based on or copied from MavensMate. The syntax files for Apex are also from the MavensMate project.

  • The LSP client code is adapted from the Sublime LSP package