# \[Wish\] RS Format Document & Adjust Case Like Real Controller

**URL:** https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847
**Category:** UpFeed
**Created:** [May 23, 2019, 4:27am UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847 "2019-05-23T04:27:23Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![DenisFR](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@DenisFR](https://tech-community.robotics.abb.com/u/DenisFR)
#### Post date: [May 23, 2019, 4:27am UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/1 "2019-05-23T04:27:23Z")

</div>

Hello,  
When using Format Document or Adjust Case in RobotStudio, it makes a lot of change if you edit your program on real controller before.  
Real: ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/6/68f9d91b037025c1acbd3fb4a76bfa5f5629e7db.jpeg)  
RS: ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/a/a5a6ac2962b4d8366a3f5d100829a4fe5c8096b3.jpeg)

Real: ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/d/d265812d7b551340159afc8b0417f556dcbee4c8.jpeg)  
RS: ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/4/423dedbe2bbd7a473b2c5133b22a38973d37ce7a.jpeg)

---

<div class="post-metadata">

### Author: ![Johannes\_Weiman](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Johannes\_Weiman](https://tech-community.robotics.abb.com/u/Johannes_Weiman)
#### Post date: [May 24, 2019, 11:20am UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/2 "2019-05-24T11:20:07Z")

</div>

Added to backlog!

---

<div class="post-metadata">

### Author: ![SomeTekk](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/sometekk/32/151_2.png) [@SomeTekk](https://tech-community.robotics.abb.com/u/SomeTekk)
#### Post date: [March 3, 2023, 12:40pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/3 "2023-03-03T12:40:42Z")

</div>

— BUMP —  
Maxim -

Is there an update that may be shared on this request?

It would be extra specially nice if RS had an option for using RS formatting or control formatting.

---

<div class="post-metadata">

### Author: ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)
#### Post date: [March 3, 2023, 2:17pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/4 "2023-03-03T14:17:24Z")

</div>

Hello SomeTekk,

I see you went and did some digging?

Can you provide a clear description (with screenshots where possible) of how things are today vs. how things should be in a not-so-distant utopian future?

Then I’ll run it by R&D.

---

<div class="post-metadata">

### Author: ![SomeTekk](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/sometekk/32/151_2.png) [@SomeTekk](https://tech-community.robotics.abb.com/u/SomeTekk)
#### Post date: [March 3, 2023, 6:07pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/5 "2023-03-03T18:07:00Z")

</div>

I would if I was able to paste screenshots in the message box, unfortunately the only option available is to link an image.

For the most part DenisFR captured the essence of what I am hoping for with the first post.

Whitespaces are prepended to the arguments in (some/all?) instructions when composed on the controller. Whitespaces are deleted when Format Document is clicked and eventually updated on the controller.

A “controller entry mode” would be nice where RS uses the entry syntax present in the controller. Perhaps in the Format drop down a selection for control style syntax emulation formatting could be used. I am am a heavy user of Format in RS and in this facility there are a number of techs that gripe about differences, being able to format like the controller might quell the griping — _slightly_.

Hope this helps.

---

<div class="post-metadata">

### Author: ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)
#### Post date: [March 3, 2023, 6:56pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/6 "2023-03-03T18:56:58Z")

</div>

I fail to see why there would be a need for a different formatting in RS compared to the controller? Wouldn’t it be better if RS followed the same formatting as the controller?

---

<div class="post-metadata">

### Author: ![SomeTekk](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/sometekk/32/151_2.png) [@SomeTekk](https://tech-community.robotics.abb.com/u/SomeTekk)
#### Post date: [March 6, 2023, 10:53am UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/7 "2023-03-06T10:53:33Z")

</div>

Yes. If _only one_ format can exist, then RS formatting as the controller creates its format would be sufficient.

---

<div class="post-metadata">

### Author: ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)
#### Post date: [March 6, 2023, 2:59pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/8 "2023-03-06T14:59:57Z")

</div>

Alright, I’ll see what I can do.

---

<div class="post-metadata">

### Author: ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)
#### Post date: [September 25, 2023, 1:23pm UTC](https://tech-community.robotics.abb.com/t/wish-rs-format-document-adjust-case-like-real-controller/8847/9 "2023-09-25T13:23:30Z")

</div>

Hello there,

R&D has decided to focus on other more issues issues and thus will not adjust the formatting of RAPID code in RobotStudio (basically it’s a question of allocating limited resources to issues with higher priority).
