Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: How to choose what to import from VCS

I'm using Android Studio 2.1, which is based on IntelliJ IDEA 2016.

If you select VCS -> Commit changes there's a nice dialog showing all the modified files and you are able to choose what to commit.

However when selecting VCS -> Update project there's no dialog. You have to update everything give or take.

I really miss eclipse's Team Syncronize perspective. It kicked ass compared to this, both for commiting and updating.

Is there a way of displaying a dialog to select which files to update? Or maybe some plugin? I'm getting tired of importing workspace metadata from other team members, or even broken builds when doing bulk updates. The only workaround seems to be looking at the incoming tab first, and then right click over the files you want, which is not very efficient as you have to expand their packages or parent folder first, and you might also need to manually refresh the incoming tab.

like image 550
Mister Smith Avatar asked Jul 01 '16 10:07

Mister Smith


1 Answers

Yes that's a nice question but unforunately we have no ways First thing first to checkout documentation of IntelliJ IDEA 2016.1 Help given here but not in depth. As vcs-> update will update all files from remote branch and it will never provide you options because it is not implemented yet !!

Also see comments discussion on this answer they have talked about whole issue you have here the question asked little matching with yours is this which is the same having this discussion.

This is unlikely to be an issue with the Android tooling and more likely an issue with the underlying intellij idea software.

This is already discuss over here in google code issues :

https://code.google.com/p/android/issues/detail?id=184086

I have already tried to search plugin or help software but coudn't find one. :(

like image 69
TapanHP Avatar answered Nov 02 '22 18:11

TapanHP