When writing expressions it would be nice if there was a way to add comments, preferably as part of the expression
Example:
/*My comment here...something that helps me (or someone else) understand how the really really complicated expression I just wrote actually works..*/
Sum(blabla...)
yay!
Many thanks for getting this in now
Thanks Tobias. Looking forward to use this.
I've wished for this feature since I started building complex expressions/calculated columns several years ago. These can get really complicated and the ability to add inline (//) & block (/* */) comments would be incredibly useful!
Yes please!
Would also be good to be able to resize the calculated column editor so you can view more of your expression if you need. Urgently not possible in 7.11, not sure if it’s been addressed
Implementing ignoring lines that start with # would be a real win.
Would definitely like to see this. It would seem like a natural progression with the enhanced data wrangling capabilities to have the ability to document/comment what's happening with the expressions.
Tell us this is coming in the next release
\\-Comment here
Any update on this? When expressions become complex, the comments are required to avoid waiting too much time trying to understand the code...
I agree with the feedback that using the description is not as easy or as helpful. I've written expression statements that were 67 lines long. Using the description to explain what I was doing (or even help me keep track of my logic) wouldn't have worked.
Love this idea.
This is crucial for support and validation.
For custom expressions and calculated columns.
This would be very beneficial in testing as well where I could comment out particular portions of a complicated calculation to determine what isn't working properly.
Added in description is a start, but not ideal. We have cases where developer have calculated fileds with nested if/case statements, reading from multiple document properties.
An inline/incode comment system can help document the finer points of the code and not rely on just descriptor field.
For calculated columns, there is a description field which you can use for adding commens
I hope this feature gets added to calculated column as well.