4 Replies Last post: Jan 17, 2014 12:34 PM by Anton Makeev  
David Clancy Newbie 20 posts since
Sep 9, 2011
Currently Being Moderated

Jan 12, 2014 5:06 AM

Minor Refactor->Move... issue?

When I use this command within objective-c code, I get what look like c++ templates in the newly created files.  Am I

missing a setting or is this a bug?  (or intentional?)

 

Example .h file after Move on @interface MovedClass

 

 

#ifndef __MovedClass_H_

#define __MovedClass_H_

 

#endif //__MovedClass_H_

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Jan 13, 2014 1:05 PM in response to: David Clancy
Re: Minor Refactor->Move... issue?

David, why do you need guard-blocks in the Objective-C code?

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Jan 13, 2014 9:27 PM in response to: Anton Makeev
Re: Minor Refactor->Move... issue?

Apologies, I was pointed out by my colleague, that I incorrectly read the question.

 

It indeed looks like a bug; could you please give a bit more details/type of original file/code snippet?

Is the problem reproducible if yes, what are the steps?

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Jan 17, 2014 12:34 PM in response to: David Clancy
Re: Minor Refactor->Move... issue?

Thanks for the details, David

I have reproduced this issue. Unfortunately there is no way to workaround this at the moment, we'll see if we can fix it in the next major update.

More Like This

  • Retrieving data ...