Is there any keyboard shortcut in Android Studio to show difference of class file, as compared to last commit, from within that class.
Current I can see file difference from
VCS (Local Changes)
Ctrl + d
There is no such a shortcut by default, you could always assign it yourself, but there is the operation you need
(you could search for any operation using another shortcut
Cmnd + Shift + A) :
In order to assign a shortcut to the operation, you should go to
Keymap -> search for 'Compare with the Same Repository Version' and assign a shortcut on it.