I recently discovered also Idea's possibility to c...
# random
I recently discovered also Idea's possibility to commit only one change out of many in a file. Simply brilliant!
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.
how do you do that?
Click on the colored stripe next to the editor, select change list
nice, thanks
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.
🤷‍♂️ I’m doing everything from IDEA UI 🙂