Vitaly Zdanevich
Vitaly Zdanevich

Reputation: 14812

Egit at Eclipse: can I see changes in files on commit screen?

I need preview like in IntelliJ IDEA. Strange that this is not the default behaviour.

Upvotes: 1

Views: 82

Answers (2)

Raydel Miranda
Raydel Miranda

Reputation: 14360

Yes very strange. I solved that using the Git Staging view.

Go to Window -> Show view -> Other, and select Git Staging.

enter image description here

There you can see all you need in order to do a proper commit, unstaged changes, changes, even conflicts. And of course you can do a commit or commit and push directly.

enter image description here

Upvotes: 4

MirMasej
MirMasej

Reputation: 1622

I think the idea in Eclipse is to do commits from synchronization view and to be consistent between different team providers. The former comes from old times when CVS and SVN ruled. Nowadays it seems to be a cumbersome way to do it. Heck, even SVN team providers allow you to revert changes from the Java view while from EGit you can either reset the whole working copy or you need to go to Synchronization view and use cryptic Overwrite option for a single element. Of course changes in files that you're asking about are there.

Upvotes: 0

Related Questions