Page 1 of 1

Ranorex re-orders using namespace statements in user code

Posted: Thu Dec 15, 2016 6:22 pm
by sphennings
The problem only occurs in v6.2

Steps to reproduce:

* Create a recording module
* Open it's UserCode file
* Change the order of using namespace statements
* Compile the project

Expected behavior:
The order of using statements should not change when compiling the project.

Actual behavior:
The order of using statements changes when compiling the project.

This also prevents annotating namespace statements in 6.2, since comments placed above one will be placed below every namespace statement upon compilation.
The same behavior will happen for comments placed on the same line as a namespace statement.

Good coding practices discourage unnecessary edits. I expect my tools to support not hinder this

Re: Ranorex re-orders using namespace statements in user code

Posted: Tue Dec 20, 2016 11:09 am
by Support Team
Hi sphennings,

Thank you for your input.

This behavior is indented and by-design. We are sorry that this feature doesn't meet your expectations.

Thank you for your understanding.

Sincerely,
Robert