1
 Follower
22
 Likes

Add Comments in expression editor

Frontend
Implemented
on 04 Oct 2016
OutSystems 10

I suggest the possiblity of add  comments in expression editor

Created on 19 Dec 2014
Comments (10)
+1 to this - especially if you have a somewhat complex expression.
I think if you have a somewhat complex expression you should implement it as a flow as it will be more clear.
Add comments to text expressions. Those comments are not evaluated.

Sample in the attached image.





Merged from '[Service Studio] Add comments to text expressions' (idea created on 2015-04-01 11:00:08 by Luis Paulo Soares), on 2016-10-24 17:08:52 by Goncalo Borrega
Should be merged with:

http://www.outsystems.com/ideas/1817/add-comments-in-expression-editor

And

http://www.outsystems.com/ideas/528/in-simplequery-assign-comment

And

http://www.outsystems.com/ideas/346/servicestudio-add-comment-to-value-assign

J.Ja


Merged from '[Service Studio] Add comments to text expressions' (idea created on 2015-04-01 11:00:08 by Luis Paulo Soares), on 2016-10-24 17:08:52 by Goncalo Borrega
Merged this idea with 'In SimpleQuery / Assign comment' (created on 2010-10-13 12:24:36 by Eric Oud Ammerveld (PS10))
Hi guys,

Sometimes when you have a pretty complex assign or query statement you'd like to add some comment.

I have a few queries that contain some complex statements.
I also have a few assigns that contain several IF statements and a few entity actions.

I currently use structures like teh one below to add in come comment; but this is not the way I'd like to do this:
("Oude bewaarloondatum valt in Tarief periode" <> "")
and ( TARIFF.ValidFrom <= OldRentDate and ( TARIFF.ValidTo  >= OldRentDate or TARIFF.ValidTo = NullDate() ) )
or
("Tarief periode valt in bewaarloontermijn" <> "")
and  ( TARIFF.ValidFrom >= OldRentDate and (TARIFF.ValidTo <= NewRentDate and TARIFF.ValidTo <> NullDate() ) )
or
("Nieuwe bewaarloondatum Tarief periode valt in bewaarloontermijn" <> "")
and  ( TARIFF.ValidFrom <= NewRentDate and (TARIFF.ValidTo >= NewRentDate or TARIFF.ValidTo = NullDate() ) )


I'd rather use a // line comment or { BLOCK COMMENT } instead.

Merged from 'In SimpleQuery / Assign comment' (idea created on 2010-10-13 12:24:36 by Eric Oud Ammerveld (PS9.1)), on 2016-10-24 17:10:55 by Goncalo Borrega

Hi all,

Happy to let you know this is now available in OutSystems 10.

Thank you for the feedback

Allow comments on expressions, very useful to help understand complex expressions http://screencast.com/t/NSxuMFi5



Merged from 'Expression comments' (idea created on 2016-10-27 15:09:22 by Nelson Inácio), on 2016-10-28 07:52:14 by André Vieira

Look at version 10. You can add comments in the expressions. 



Merged from 'Expression comments' (idea created on 2016-10-27 15:09:22 by Nelson Inácio), on 2016-10-28 07:52:14 by André Vieira

It's nice know that is already done, will very useful

views
686
Followers
1