Page 1 of 1

BUG: UserCode.cs refactor missing { after namespace

Posted: Thu Aug 01, 2013 12:30 pm
by krstcs
If you drag a module to another folder (move it) inside the project, the Namespace is changed to reflect the move, but the UserCode file is missing the opening curly bracket "{" after the namespace declaration.

So, before the move:

Code: Select all

namespace MyTest.Core {
...
}
And after the move:

Code: Select all

namespace MyTest.NewFolder
...
}
Which obviously won't compile. :D

ETA: It doesn't seem to happen every time. I'm trying to figure out what is triggering it. I'll add more when I figure it out.

Re: BUG: UserCode.cs refactor missing { after namespace

Posted: Thu Aug 01, 2013 12:40 pm
by krstcs
OK, it seems that it only happens when the curly bracket is on the same line as the namespace dec.

So, if the namespace looks like this it works fine:

Code: Select all

namespace MyTest.Core
{
...
}

But not if it is on the same line like this:

Code: Select all

namespace MyTest.Core {
...
}

Re: BUG: UserCode.cs refactor missing { after namespace

Posted: Mon Aug 05, 2013 2:09 pm
by Support Team
Hello,

Thank you for reporting this bug.
I will add it to our internal bug tracking system in order to provide a fix in a future release.

Regards,
Markus (T)