I'm working on a project that has Apex Classes and Lightning Components. I've been trying to find a way to work with both on my local environment using a IDE, preferably Sublime Text 3.

I've tried Ant, MavensMate and force CLI migration tool but haven't successfully synced with salesforce for both Apex and Lightning components on one IDE.

Does anyone has any tips on how to achieve that?

4 Answers 4


Dave Carrol has a cool package for sublime called "sublime lightning" you can check it out here: https://github.com/dcarroll/sublime-lightning . I'm pretty sure you can sync Apex classes as well.

  • I have been down this rode. Correct me if I am wrong, but there is no support for Apex as far as I understand. Commented Jul 22, 2015 at 0:52
  • I forgot to get back to you. I got it working after a little while with this package. There were some bumps on the way, but I got it figure out. salesforce.stackexchange.com/questions/84914/… Commented Jul 31, 2015 at 16:01

If you're open to alternatives to Sublime, Illuminated Cloud has limited support for Lightning components development right now with full support coming in the next few months. You can currently deploy and retrieve Aura bundle metadata including support for deploy-on-save behavior of the entire bundle when editing constituent files, and you can use IntelliJ IDEA's native XML, JavaScript, and CSS editors to edit the various content types. This is in addition to the tool's full support for Apex and Visualforce, static resource bundles, and other metadata types.

Over the next few months I'll be adding full support for completion, reference navigation, integrated API docs, etc., for Lightning similar to what is currently offered for Apex and Visualforce development, but there are already quite a few users using the tool for Lightning development today.


If you are set on Sublime then one option is: force cli + sublime-lightning
sublime-lightning page has a detailed instruction of how to set it up.

  • I have been down this rode. Correct me if I am wrong, but there is no support for Apex as far as I understand. Commented Jul 22, 2015 at 0:53
  • You mentioned MavensMate so I assumed you are already using it for Apex and only needed to add Aura/Lightning support. The whole package (for Sublime Text) would be: MavensMate + sublime-lightning. Note - I am not a Sublime user, so this is just a guess.
    – gaiser
    Commented Jul 22, 2015 at 8:58

@Vinicius Santana, you can try HaoIDE for Sublime Text 3, I have built basic functions for Lightning development and am still working on building comprehensive features for it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .