Hacker News new | ask | show | jobs
by b15h0p 2294 days ago
An underrated feature is “blame” in the IDE. IntelliJ or Eclipse both support showing the last commit a line was changed in in the “gutter” of the code editor.

Makes it easier to figure out how old a line of code is and (if the commit messages are any good) why it was introduced or changed.

1 comments

>why it was introduced or changed.

"Fixed formatting"

That one’s easy enough. Show diff, run annotate again in the left hand side.

Which is also why I always separate my formatting and structural changes into two sequential commits. Last interesting change is easy to read, and the previous one is the work of a few extra seconds.