How to add comments in expression editor


I’m trying to add a comment in the expression editor itself (i.e. in an assign) so it’s easier to see what every line of code is about. I know it’s possible to add annotations in the activities and I know this topic exists: How to add comments in UIPath Studio, but it’s not what I’m looking for.
Something like the below image would be really helpful:


Thank you!


Hi @oriolsolani

It is not possible to have comments within the expression editor like that. Only within the Invoke Code activity, I believe.

As a workaround, you could right click the activity, add an annotation and then add your comments there.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.