Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!

Quick Tip: you can add comments in your text mode

Avatar

Community Advisor

IF(CONTAINS(bacon),"devour","reject")

//not how to lose weight

// I am not sure if we need this, but too scared to delete.

//I am not sure why this works but it fixes the problem.

If you're frequently writing code in text mode and you sometimes can't remember what you did or why you did it, you can add comments to your code by prefixing the line with "//" double slashes… Just like a real programming language.

You're welcome.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Community Advisor

"He did not know he could not fly and so he did"

Awesome stuff, Randy -- thanks for sharing!

Regards,

Doug

Alas, not available in custom form filters :-( But still great to know elsewhere.

Avatar

Level 4

outrageous! if i can't leave notes to myself reminding me to NOT switch to standard mode, i'm destined to do just that and then wonder why my report stopped showing what i needed it to show. 

Avatar

Level 10

Is this new, or has it always been there!?! I was told this wasn't possible!

Also…how does this behave with the text mode sorting behavior. In other words sometimes if I put in text mode, then save, WF has it's own ideas and re-orders the code. How are comments managed?

Avatar

Community Advisor

Workfront still re-sorts your code to make it unreadable. I keep copies in a text editor (Sublime Text) so I can refer to it later sorted as written. Hopefully they address that issue at some point. I know they're planning on having no text mode with the new report interface so they may not be planning on any text mode enhancements.

I don't know if it's always been there but I never knew you couldn't… so I did! Hence Doug's comment above.