+ Start a Discussion
kjpetersonkjpeterson 

Automatic formula formatter

Is there anything available for automatic formual formatting?  Mainly automatic indention/newlines to turn those left aligned messes and code blobs into readable hierarchies.

Shashikant SharmaShashikant Sharma

No such is available to my knowledge. I am afraid you need to do it your self.

kjpetersonkjpeterson
I ended up building a Chrome extension that embeds a Salesforce formula editor on the page that has formatting options, syntax highlighting, and many more features.

https://www.enhancedformulaeditor.com/
Luis Lau H.Luis Lau H.
Much of APEX formula resembles to MS Excel formulas, so we could use an Excel Formulas beautifier https://www.excelformulabeautifier.com/