In Ranorex Studio I have found that if you use click the "Add Code Module" button in the toolbar, it uses the tab spacing rules as expected.
But if you right click on a folder and click Add>New Item>Code Module>Create, it uses spaces instead of tabs.
Potentially Relevant Settings:
Text Editor>Behavior>Tab Size 2
Text Editor>Behavior>Indentation size 2
Text Editor>Behavior>Indentation Smart
Text Editor>Behavior>Convert Tabs to Spaces disabled
Text Editor>Behavior>Automatic template insertion disabled
General>Ranorex Code Generation>Indent generated code (using the text editor tab settings) enabled
OS: Windows 7 64bit
Ranorex Studio: 5.1.3.19973
Tab rules not followed when adding a code module
Re: Tab rules not followed when adding a code module
Concur, this is present on 5.2.1. This has "bugged" me for a while.
It has been present in all versions of Ranorex for as long as I've used it. SD 3.2 works correctly so it's something in the Ranorex templates.
Dragonax, please try the newest version before posting a bug report to make sure that it has not already been fixed. Current version is 5.2.1, and most recent bug patch for 5.1 is 5.1.4.

It has been present in all versions of Ranorex for as long as I've used it. SD 3.2 works correctly so it's something in the Ranorex templates.
Dragonax, please try the newest version before posting a bug report to make sure that it has not already been fixed. Current version is 5.2.1, and most recent bug patch for 5.1 is 5.1.4.
Shortcuts usually aren't...
Re: Tab rules not followed when adding a code module
Ok will do next timekrstcs wrote: Dragonax, please try the newest version before posting a bug report to make sure that it has not already been fixed. Current version is 5.2.1, and most recent bug patch for 5.1 is 5.1.4.

Re: Tab rules not followed when adding a code module
No worries! 
I should have put this in a long time ago, so thanks for doing it!

I should have put this in a long time ago, so thanks for doing it!
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Tab rules not followed when adding a code module
Hello guys,
Thank you for reporting this issue. I have already added it to our internal bug-tracking system.
Regards,
Robert
Thank you for reporting this issue. I have already added it to our internal bug-tracking system.
Regards,
Robert