# Robot File format in pycharm

**URL:** <https://forum.robotframework.org/t/robot-file-format-in-pycharm/2817>\
**Category:** PyCharm\
**Created:** [18 November 2021 11:15 UTC](https://forum.robotframework.org/t/robot-file-format-in-pycharm/2817 "2021-11-18T11:15:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Arthur](https://forum.robotframework.org/u/Arthur)\
**Post date:** [18 November 2021 11:15 UTC](https://forum.robotframework.org/t/robot-file-format-in-pycharm/2817/1 "2021-11-18T11:15:56Z")

</div>

Hi,

I am a newer for using robot framework with PyCharm. I have 2 questions about how to use it to write robot cases.

1. In RIDE, the IDE can auto format the robot files. If using pycharm to write cases, is there any method to auto format the robot files?

2. In pycharm, I can use tab to write 4 spaces indent at the begging of the line, but when I use tab at the middle of the line, the first tab is not 4 spaces. Is there any configuration in pycharm to set the tab as 4 spaces?

---

<div class="post-metadata">

**Author:** ![leorush](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/leorush/32/84_2.png) [@leorush](https://forum.robotframework.org/u/leorush)\
**Post date:** [23 November 2021 14:33 UTC](https://forum.robotframework.org/t/robot-file-format-in-pycharm/2817/2 "2021-11-23T14:33:50Z")

</div>

1. Shure, there are plugin [GitHub - lte2000/intellibot: IntelliJ/PyCharm plugin for Robot Automation Framework](https://github.com/lte2000/intellibot) that can help you
2. [https://intellij-support.jetbrains.com/hc/en-us/community/posts/206083889-How-set-the-tab-size-to-2-spaces](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206083889-How-set-the-tab-size-to-2-spaces)
