-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for embedded comments within expressions #75
Comments
Hello there, what happened with this issue? I'm working on the code completion and comments would greatly help there. |
Being able to leave comments would be greatly appreciated. Is there any update on this issue? |
Agreed. Having comments within a long expression string would be very helpful. |
It would be great to be able to add comments. E.g. I am using jsonata in node-red to parse unix command line output. Being able to add comments would make is much clearer what the purpose of the jsonata expression is. As I am using jsonata in node-red I am in favour of using the javascript commenting delimiters ( |
I'll +1 this feature request as well. We make very heavy use of JSONata to transform retail/eCommerce business documents (like orders or retail items), often doing so with JSONata transformation documents that are hundreds of lines long, and make heavy use of variables and other complex logic. Having commenting built in would make dealing with large JSONata documents much easier. |
+1 |
During discussion of another issue, it became clear there is a desire to be able to embed comments within multiline expressions.
Options discussed included aligning with other scripting languages that use
#
to indicate the start of a comment, or Javascript/Java/C that use//
or/* ... */
for comments.This issue can be used to host any further discussion on this requirement.
The text was updated successfully, but these errors were encountered: