Highlight changes in code since the last commit in Android Studio

Is there a way to show the changes I've made since the last commit in the code editor?

+3


source to share


3 answers


Use the Version Control tab . In the magazine , you can select the first two changes and use CTRL + D or Command + D to create a difference between them.



Note that this approach works best with source-controlled code registered in Android Studio. If you are not using any source control system, you can still get the partial change history by going to VCS> locale> Show locale and select the root directory in your project. Note that this depends on the length of the local history log, which is nominally limited to 1000 entries.

+7


source


On the menu:



VCS -> Subversion -> Compare with the latest version of the repository

+1


source


On the left side of the IDE, open the Project panel and select Changed Files

enter image description here

0


source







All Articles