Does this happen to anyone else? generated code out of order

http://www.intellij.net/tracker/idea/viewSCR?publicId=15446

In 908 and 915, whenever I generate a constructor, generate getters/setters, or implement/override methods, Idea seems to generate things in random order. Constructor parameters and getters/setters aren't in the same order as my fields, and implemented/overridden methods aren't in the same order as their declarations. (If I regenerate the same code over and over again, the order seems different every time.) However, I haven't heard anyone else complain about this, and the Idea folks have been unable to reproduce this. Am I the only one that this happens to? Can anyone think of any settings or environment issues that would produce this behavior?

Please understand, I am in no way second-guessing Dmitry: he couldn't reproduce it and it always happens to me, so I'm assuming the repro case is more subtle or complex. Perhaps with some more data about when this does or doesn't happen, we'll be able to identify the problem. Ideas?

3 comments
Comment actions Permalink

I've noticed that when I say introduce field it doesn't put it with my other fields. For instance if all my fields are at the bottom it doesn't seem to put the new field with them.

0
Comment actions Permalink

see http://www.intellij.net/tracker/idea/viewSCR?publicId=15592



"schmoe" <schmoe@messageone.com> wrote in message
news:26991592.1062790359726.JavaMail.itn@is.intellij.net...

http://www.intellij.net/tracker/idea/viewSCR?publicId=15446

>

In 908 and 915, whenever I generate a constructor, generate

getters/setters, or implement/override methods, Idea seems to generate
things in random order. Constructor parameters and getters/setters aren't
in the same order as my fields, and implemented/overridden methods aren't in
the same order as their declarations. (If I regenerate the same code over
and over again, the order seems different every time.) However, I haven't
heard anyone else complain about this, and the Idea folks have been unable
to reproduce this. Am I the only one that this happens to? Can anyone
think of any settings or environment issues that would produce this
behavior?
>

Please understand, I am in no way second-guessing Dmitry: he couldn't

reproduce it and it always happens to me, so I'm assuming the repro case is
more subtle or complex. Perhaps with some more data about when this does or
doesn't happen, we'll be able to identify the problem. Ideas?


0
Comment actions Permalink

I hope this is already fixed, see
http://www.intellij.net/tracker/idea/viewSCR?publicId=15592
Eugene

"schmoe" <schmoe@messageone.com> wrote in message
news:26991592.1062790359726.JavaMail.itn@is.intellij.net...

http://www.intellij.net/tracker/idea/viewSCR?publicId=15446

>

In 908 and 915, whenever I generate a constructor, generate

getters/setters, or implement/override methods, Idea seems to generate
things in random order. Constructor parameters and getters/setters aren't
in the same order as my fields, and implemented/overridden methods aren't in
the same order as their declarations. (If I regenerate the same code over
and over again, the order seems different every time.) However, I haven't
heard anyone else complain about this, and the Idea folks have been unable
to reproduce this. Am I the only one that this happens to? Can anyone
think of any settings or environment issues that would produce this
behavior?
>

Please understand, I am in no way second-guessing Dmitry: he couldn't

reproduce it and it always happens to me, so I'm assuming the repro case is
more subtle or complex. Perhaps with some more data about when this does or
doesn't happen, we'll be able to identify the problem. Ideas?


0

Please sign in to leave a comment.