RobotStudio event

Format document improvments

I don't know if this is the right place to request features, but it would be very nice if Format Document feature in robotstudio didn't move comments to a new line.

For example, this line:
reg1:= 55; !Here i'm setting reg1 to 55.
will be formated to this:
reg1:= 55; 
!Here i'm setting reg1 to 55.

It would be nice if comments was allowed to be after semicolons. 

Systemintegrator - Web / C# / Rapid / Robotstudio

If I helped, please press Vote Up  :smile:


  • This is the right place.

    And I agree with this suggestions as well.

    I'll run this by R&D when I have a chance.

    Maxim Riabichev
    PC Software Support Engineer
  • DenisFR
    DenisFR ✭✭✭
    edited March 7
    In same time, if you can ask:
      - To use the same indent as controller (tab)
      - Add space after comma as controller
      - Take care of casing of \Inpos in (WaitTime, WaitRob, etc.)
    So the code write in RS or by the pendant are the same.

    PS: Didn't see your post in other thread. ;)

    PPS: And well indent when using space to format. Like:
    <tab><tab>SomeCode withsomeparam,
    <tab><tab><spaces> otherparam...
    For now it add <tab> in new line. And Format don't change it.
    Post edited by DenisFR on