Eclipse IDE

I am writing this blog out of my experience to share the key details of the different IDEs I have used while programming in Force.com environment. This might help an experienced or newbie developer in choosing the right IDE to code.My favorite and most probably every programmers most loved IDE. Eclipse is famous as a Java Integrated Development Environment (IDE). Salesforce You can easily combine language support and other features into any of our default packages, and the Eclipse marketplace allows for virtually unlimited customization and extension. Eclipse give a feel of traditional desktop based programming from developer end and in backend it saves all in Salesforce Cloud.

ecl6Eclipse for Salesforce:

To code apex in eclipse you have to first install force.com IDE in your eclipse in order to sync your local server with salesforce server.

ecl8

What force.com IDE can do :

folderCustomizable Folders Structure:

No more limitations for files or folders structures. Now developers can organize them in whatever way they want.

apx codeApex Code Completion:

Save time, improve the coding velocity, and avoid making mistakes with Code Completion functionality for Apex.

apex code

Apex Code

Anonymous Apex Execution:

Test new solutions, debug your code or work with your organization using the Anonymous Apex with all of the code editing features you’ve got used to.

anonymous apex code

Anonymous Apex Code

searchQuick Search of a Current Selection:

Once you select any text in your code all its occurrences within the document will be highlighted and marked on the scrollbar automatically.

Debug Logs:

When debugging code you usually execute Anonymous Apex, perform some actions in the UI or start scheduled jobs which then produce lots of logs for you to go through. In most cases your actions would provide you whatever information you need pretty easily but sometimes you need only some specific logs – with very long duration, very small or very big logs, failed or succeeded logs and so on.

dlog

 

 

 

 

 

 

 

 

 

 

 

 

find replFind and replace

Find, preview, and replace text as you type in a file or across all your projects.

featuresLatest Features:

  • Execute Apex Test Suites
  • Enjoy Optimized Test Execution
  • See Apex Test Results More Quickly
  • Enabled code­ coverage highlighting in Apex classes
  • Provided whitelist filtering for user and request­type debugging in the Apex Debugger
  • Share Apex Debugger licenses among your sandbox orgs
  • Enabled Eclipse’s Java development tools (JDT) icons for Apex variables in the Apex Debugger

installHow To Install :

These instructions show you how to install the Force.com IDE into your existing Eclipse distribution or upgrade from a previous version.

preqPrerequisites:

To install Force.com IDE you must have these requirements filled:

1. Java SE Development Kit (JDK) must be installed in the system in order to install Eclipse.(Download JDK)

2. The plug­in doesn’t load if you don’t have the full Java Development Kit (JDK). The full JDK is not the default JRE installation on Mac OS X.

 a. If you use Java 7, disable TLS 1.0. (TLS 1.0 is disabled by default in Java 8.)

      Update your eclipse.ini file to include this line:

 b. Dhttpss.protocols=TLSv1.1,TLSv1.2

3. At last Eclipse version 4.x must be installed in the system.(Download Eclipse)

istall stepInstallation Steps

1. Launch Eclipse and go to help>install new software in the navigation bar.

ECLIPSE

2. Click Add button on the right hand side.

ecl2

3. In the Add Repository dialog, set the Name to “Force.com IDE” and the Location to  “https://media.developerforce.com/force­ide/eclipse42” and click OK. (Use the same URL  for Eclipse 4.3.)

ecl1

4. If you want to install an older version of the plugin (for example, if you do not have Java 7), be sure to clear the option “Show only the latest versions of available software.”

add repos

5.Eclipse downloads the list of available plugin and displays them in the Available Software dialog.

6. Check the box next to the Force.com IDE plugin and click Next.

ecl3

7. In the Install Details dialog, click Next.

8. In the Review Licenses dialog, accept the terms and click Finish.

9. Eclipse downloads and installs the Force.com IDE and any required dependencies.When installation is complete, you will be prompted to restart. Click Yes.

10. When Eclipse restarts, select Window > Open Perspective > Other, select Force.com and click OK.

You are now ready to develop and customize Force.com applications in Eclipse!

 


Author: AJ

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *