Format document improvments
Tompanhuhu
✭✭
in UpFeed
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:
It would be nice if comments was allowed to be after semicolons.
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
☑️2024 - RobotStudio® User Group
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group
2
Comments
-
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 RiabichevPC Software Support Engineer0 -
Hello,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☑️2024 - RobotStudio® User Group1
-
Tompanhuhu said: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.
So my suggestion is to reach out to your local ABB and send this in a feature request to the controller team. If they accept it and implement it, the RobotStudio devs will adapt the RAPID editor in RS to follow the syntax.
This is also in a way related to the other >suggestion<, regarding formatting of RAPID-code. I.e. RS should format the code like it is formatted in the controller.—Maxim RiabichevPC Software Support Engineer0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings