Being able to // comment in formulas, like in normal code editors
Agreed that would be a nice feature. There are some workarounds, as mentioned in this thread:
Would really love support for //
comments in code also. Similarly, if a Rule could have a description. This way complicated docs will be easier to understand long in the future by the original author or more importantly, other people.
Hi all, Coda has opened up a survey on feedback about commenting. If youâd like to participate, hereâs the topic with the information:
As clarified in the comment section in the survey topic, unfortunatelly this feedback is focused on page commenting, which is a totally different thing from formula commenting.
what?
i thought this was for commenting FORMULAS
which is needed URGENTLY
i have no use for comments on pages
we already have a mechanism for that
???
max
I agree. I think the comment section is well developed and they shouldnât be taking so much attention to that. They should definetly add formula commenting, which is a crucial thing for bigger workflows.
interesting, how did you find out?
That would be huge news for me.
Unfortunately canât reproduce it on my end
Maybe a test not deployed everywhere ?
alas, the OP example did not just fail on the // as indicated by the red markers.
thats probably due to the way the parser works, it didnt understand the /*111111*
/ token and it didnt understand the // token either, but it only reports one error, not all the errors in the expression.
so; neither the //xxx// nor the /*xxx*/
are understood as comments
max
Hi! Iâm Arpan, a software engineer at Coda. Iâm excited to share that you can now add comments to formulas! By enclosing parts of your formulas with /*
and */
, that portion will become a comment. To comment out an entire line, prefix the line with //
.
Formula comments can help explain whatâs going on in your most complicated formulas and can also be used to save prior versions of formulas youâd like to refer back to.
Hi Arpan,
thank you for such good news! Itâs a pity to find it a bit hidden at the end of a thread â your post should totally be a new post in âNews from Codaâ, to make sure everyone in the community is aware of it!
Hi @Arpan_Laha, this easily deserves a News From Coda post! Super good.