Apex Editor

Apex is a programming language used specifically for developing Salesforce orgs. With the help of the Apex Editor, you are able to edit all the Apex items in the IDE: classes, objects, and triggers.

Apex enables you to add business logic to most system events, including button clicks, related record updates, and Visualforce pages. Apex code can be initiated by web service requests and from triggers on objects.

Apex code requires having at least 75% code coverage by unit tests before you can deploy your code to an org.

The Apex Editor, as well as all other text editors in The Welkin Suite, provides multiple basic and also advanced editing features that may decrease time spent on development.

You can customize the Apex Editor as you want. To do so, go to the Options Menu: Main Menu ⇒ Tools ⇒ Options… ⇒ Text Editor ⇒ Apex.


Customize Apex Editor


Apex Code Assistance

In the Apex Editor, you can find all necessary tools of Code Assistance that make your development faster and more convenient:

  • Code Completion — this feature helps you to complete the names of classes, methods, fields, and keywords within the visibility scope,
  • Code Snippets — the small commonly-used code blocks that can be inserted in a code file,
  • Code Map — a handy tool that shows you the structure of your class,
  • Apex Doc — it allows for you to add descriptive header comments to the classes, methods, properties in a standard way,
  • Go to Definition — it helps to move easily to the definitions of classes, enums, interfaces, their members or local variables,
  • Automated formatting — it allows making your code more readable in one click,
  • Code Outlining — it divides your code into separate methods and gives you the ability to selectively hide the parts of code that you don't need right now,
  • Real-time syntax errors highlighting — helps you to trace and avoid all the syntax errors in the real time,
  • Comment / Uncomment — a simple tool for leaving comments for the selected part of a code.

In this section:

This also may be useful:

Last modified: 2018/02/16 12:52

footer image