Lines in the same file in different changelists

Answered

Sometimes, I'm able to get different lines in the same file in different changelists (using the `Move Lines to Another Changelist` action).

Other times, I cannot seem to move some lines from one changelist to another (though I can still move all of a file's changes to another changelist using the `Move to Another Changelist` action).

I've also set as active the changelist into which I want a change to be placed, then made the change, but it was placed into the same changelist as the existing changes in the file instead of into the active changelist.

Should one be able to move changes between changelists?

Are the above methodologies supposed to work?  If not, why?

1
3 comments

> Should one be able to move changes between changelists?

Yes, of course.

Likely the issue is https://youtrack.jetbrains.com/issue/IDEA-196619

0

It may or may not be the same issue. It mentions the `Move to Another Changelist` action, whereas I’m having issues with the `Move Lines to Another Changelist` action.

Also, when I type the keyboard shortcut for the action, no dialog pops up. So the issue isn’t that specific changelists aren’t listed, it’s that the dialogue doesn’t even show up. I’m going to ask in a comment on the issue of someone can describe exactly what the symptoms are, and what
circumstances cause the bug to occur.

0

https://youtrack.jetbrains.com/issue/IDEA-196619 clearly describes the issue - a changlist is not present in the list if some chunks of the current file are present there. There is also a recording.

If the behavior you face is different, please submit a new issue with additional details - screencast illustrating the issue would be great. Thank you.

0

Please sign in to leave a comment.