Add line number to syntax check in formular

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 195

    #1

    Add line number to syntax check in formular

    It would be extremely helpful to know exactly what line an error occurred on, rather than just seeing “error happened.”

    Please consider adding more detailed feedback for the formula editor’s syntax check—it would make debugging much faster and less frustrating.
    Last edited by yuri; 01-15-2026, 01:59 PM.
  • emillod
    Active Community Member
    • Apr 2017
    • 1550

    #2
    jamie you can consider using log formulas log - EspoCRM Documentation

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9570

      #3
      It would be nice to have but not sure how difficult it would be to do. As we use our own language parser, it's not a matter of configuration.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • jamie
        Senior Member
        • Aug 2025
        • 195

        #4
        Originally posted by emillod
        jamie you can consider using log formulas log - EspoCRM Documentation
        that won't give me the line for that a syntax error is on just output to the log?

        Comment

        • jamie
          Senior Member
          • Aug 2025
          • 195

          #5
          Originally posted by yuri
          It would be nice to have but not sure how difficult it would be to do. As we use our own language parser, it's not a matter of configuration.
          would really help in debugging very long formulas by people with more enthusam then coding experience, maybe in v 10

          Comment

          • emillod
            Active Community Member
            • Apr 2017
            • 1550

            #6
            If you have to debug something, you can also add debug with number 👀

            Comment

            • jamie
              Senior Member
              • Aug 2025
              • 195

              #7
              Originally posted by emillod
              If you have to debug something, you can also add debug with number 👀
              that is very useful! though won't help with syntax check

              Comment

              Working...