I just tried 2018.2 EAP and I don’t see the checkboxes in my gutter for partial hunk commits.. And it’s not in the commit dialog box either.
There are no IDE exceptions, and the other new features mentioned here: https://blog.jetbrains.com/idea/2018/06/whats-new-in-intellij-idea-2018-2-eap-4/ seem to be present, e.g being able to delete a tag in log view.
Could someone point me in the right direction? Thanks
You can activate it under "Settings => General =>" Highlight modified lines in gutter " But why that was placed so I can not say!
Beside issue IDEA-186988 (still pending, for adding specific lines), the new add -p
feature seems to be working only in a specific mode:
Only works in “Side-by-side viewer” Diff mode.
Having to switch from convenient “Unified viewer” mode to inconvenient “Side-by-side” just for commit individual lines/hunks is… how to say… against the very idea of IntelliJ IDEA of being convenient, isn’t it?
The same page "IntelliJ IDEA 2018.1 EAP: Partial Git commits and more" includes the comment from Jurgis Pralgauskis (March 2019, similar to Christian M's answer):
On PyCharm 2018.3.5 (pro) this is not shown in commit dialog unless I enable :
Settings->Editor->General: Highlight modified files in gutter
I was also missing the checkboxes in git diff today in 2022 and found, they are introduced by installing a plugin called "GitToolBox" in the Marketplace (Preferences->Plugins->click on "Marketplace"->Search for "GitToolBox". After installing and restarting the IDE, checkboxes in git diff view when in commit-window are present.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With