Apex Editor

Force.com IDE is in a maintenance-only state. We still provide support for the product through our official channels, but updates prior to October 12, 2019 will be only for critical security issues that arise. On October 12, 2019, we will no longer provide support or updates of any kind for Force.com IDE. On that date, we will also begin archiving documentation and removing download links for the product. We recommend that you start migrating to Salesforce Extensions for Visual Studio Code or one of the great tools made by our partners. For more information, see The Future of Salesforce IDEs on the Salesforce Developers Blog.

Warning

To edit an Apex class or trigger:
  1. In the Package Explorer, expand the project node.
  2. Apex classes and triggers are in separate folders. Expand the /classes or /triggers folder and double-click the name of the item you want to edit.
  3. Use the Source tab of the editor for writing Apex and the Metadata tab for editing the associated metadata file.

The editor has content assistance for all built-in types, including both Apex and XML metadata.

Note