2

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?

1

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.

| improve this answer | |
3

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.

| improve this answer | |
0

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.

| improve this answer | |
  • I have been down this rode. Correct me if I am wrong, but there is no support for Apex as far as I understand. – Vinicius Santana Jul 22 '15 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 Jul 22 '15 at 8:58
0

@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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.