Skip to content

Indent and Align Apex Code using Developer Console for Readability

You can easily format/align Apex code directly in the Developer Console.

  1. Open an Apex class, trigger, or the Anonymous Window.
  2. Press Ctrl + A to select all the code.
    • For Mac OS: Command-A (⌘-A)
  3. Press Shift + Tab to format and indent the code.
Leave a Reply

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