Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

jetbrains IDEs have a local history feature that seems to do this


When I looked, it had the same problem that Dropbox has with this: a textual listing with only timestamps. I need semantic info! Show me the differences. Don't make me choose from this arbitrary list. I want to scan through the versions very, very quickly.


Not sure what you're looking at, but IntelliJ 2020.3 gives me a list w/ timestamps in 1/3 of the modal, then a diff viewer in the other 2/3. I can down-arrow through the versions and the diff updates.


Fantastic, downloading the latest version now!


That has been in for quite some time. I don’t remember since when, but at least in the 2019 version.


That's the way it's been for years.


I use view local history of selected so I can blame myself and view git history of selected to I secretly seethe at some one who left the company 3 years ago.


Yep, it's quite a handy feature at times. I don't use it a ton, but it is very helpful when I want it. One very nice aspect is that you can scope it to a specific section within a file (the same can be done with git history as well).


Came here to say this. It is a really old feature.


It is, and yes I've found it useful. However, the idea of a slider that you can just yank around sounds really appealing.


Yeah and it’s actually decent.

That being said I don’t mind committing often. If I have a slew of small commits I squash them.

Since I will need to commit at some point, I rather do it incrementally.


Committing removes the diff view in PyCharm, and I can't lose that.

By "diff view" I mean I can see all the changes I've done from the main branch.


Personally, when I'm ready to submit a pull request, I usually do a soft reset to the point where I branched off from, then redo my commits and force push to the branch, for exactly that reason. I can't remember exactly which lines I've changed over the past few days unless I see all the diffs together.


Interesting idea...

I suppose I can stash my current code, reset to where I started somehow, and then unstash.

I've also toyed with the idea of having two repos on my disk.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: