How do we format outsystems written code . It should neatly arrange the code , is there any option available ? 

Hi Nilesh Rokade,

Are you referring to align code inside Service Studio?

There is already a tool that allows this:

Regards,

Yes but it is not doing it correctly i think..

Can you share more context about that?

Solution

Nilesh, maybe you are expecting a command that auto arranges your flow neatly, automatically, but unfortunately there isn't such a feature.

Quoting Vasco Pessanha (OutSystems engineer) in the discussion about this idea ( https://www.outsystems.com/ideas/45/Auto+Arrange+in+Service+Studio):

I understand, this is not an auto arrange command that auto-magically gives you the perfect code aligned. I'm also not sure that we can deliver that kind of feature, since different people organize their code in different ways to improve readability (we talked with internal developers and saw these patterns).

Nevertheless, I think this will significantly improve a lot this use case(...)

Solution

João Pedro Abreu wrote:

Nilesh, maybe you are expecting a command that auto arranges your flow neatly, automatically, but unfortunately there isn't such a feature.

Quoting Vasco Pessanha (OutSystems engineer) in the discussion about this idea ( https://www.outsystems.com/ideas/45/Auto+Arrange+in+Service+Studio):

I understand, this is not an auto arrange command that auto-magically gives you the perfect code aligned. I'm also not sure that we can deliver that kind of feature, since different people organize their code in different ways to improve readability (we talked with internal developers and saw these patterns).

Nevertheless, I think this will significantly improve a lot this use case(...)

So there is no option to auto arrange code :( 

Thanks for sharing thread 

Hello Nilesh


If you select the nodes and use the mouse right button, you find a option to align the nodes.


But you you would like something a little more complete you can support some of the proposed ideas... Like  

https://www.outsystems.com/ideas/5944/Help+to+leave+the+elements+equidistant%2c++see+the+gif.


Regards