I recently discovered also Idea's possibility to c...
# random
h
I recently discovered also Idea's possibility to commit only one change out of many in a file. Simply brilliant!
o
You can also sort changes (even in same file) into different changelists and manage them as you go. E.g. I use a separate change list for “side changes”, like typos, better exception text, etc. Whatever I see while working on something specific I don’t postpone it for later, just fix and move to another bucket. This way I don’t forget it, and still have properly separated commits.
e
how do you do that?
o
Click on the colored stripe next to the editor, select change list
3
e
nice, thanks
k
It's unfortunate that this also `add`s the change to git, and if you
git reset
you lose your changelists. It makes mixing gui/cmdline use annoying. I'm probably just misunderstanding what's going on, I'm sure there's a good reason for this.
o
🤷‍♂️ I’m doing everything from IDEA UI 🙂