As you know, Eclipse is a nice IDE for developing Apex code. A few days back we were working on Apex side coding and after a lot of coding, I wanted to indent my code. I tried a lot to indent the code in Apex Code Editor but in vain. Finally, I had to change the editor.
Here is the way in which we can indent the Apex code –
Right Click on the Class that needs to be indented then select Open With >> Other… >>Java Editor
Then select the text that needs to be indented. For convenience, you can select all the text by Ctrl+A then press Ctrl+I to indent the text.
OR
You can also indent the Apex code by right-clicking on Editor then selecting Source >> Correct Indentation as shown in below screenshotHappy Coding.
About Us
Greytrix as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.
Greytrix has some unique solutions for Cloud CRM such as Salesforce integration with Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100, and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data Migration, Integrated App development, Custom App development and Technical Support to business partners and end users.
Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star app listed on Salesforce AppExchange.
For more information, please contact us at salesforce@greytrix.com. We will be glad to assist you.
Related Posts