Cannot see pending changes from Android Studio in Source Tree - android-studio

I want to be able to see my changed files in Source Tree.
The project is a git repo. If I change the file inside Android Studio I won't be able to see it outside Android Studio...

Are you sure the file you are changing is not in .gitignore & is being actually tracked by Git?
You can verify this by doing a git-status on your root folder.
The File Status tab shows all changes as observed by Git.
Additionally, you can filter this tab & check your current filter.

Related

How can I change title of android studio that is visible when switching apps on macos from folder name to project name?

I moved my project files to project subfolder so I can put other stuff on upper level like some artworks etc to commit to git too, without having it messed with project files.
Now when I switch between various open android studio projects windows, I see there just title of that parent folder, that is named "project", but I would like to see there my project name, not folder name. Is there some android studio setting to change this behaviour ?
In your settings.gradle add line rootProject.name = "some-desired-name" and this will be visible when switching apps on macOS, I believe it's called mission control, otherwise Android Studio pick folder name as project name and that was my issue.
Background: I used this before, but later commented it out, because I didn't see why it would be useful for me, now I see.

Android Studio has lost Run Configurations

Android Studio lost all the run-configurations of a project and it is not the first time this happened. This always occurs (as far as I can tell), when switching projects and/or having opened an Android project in IntelliJ IDE.
In an attempt to restore them, I've reverted several missing .xml files from the .idea directory, including runConfigurations.xml, which did not yield the desired result. the documentation does not really help either.
Q: Where are these run configurations being stored, (in order to keep a backup of them)?
As described in Run/Debug Configurations Dialog documentation when: Share check-box is enabled Run/Debug Configuration files are stored under .idea/runConfigurations/ directory.

Change the subversion commit location for a copied project in android studio

I have a project which i have copied from a different completed project,and refactored the package name. after the refactoring and sync was complete android studio asked me whether i wanted to add the newly created files to subversion. i remembered that my previous project was shared through subversion. so i went ahead and disabled the vcs integration for my current project to prevent any accidental modification to my previous project. but now whenever i enable vcs integration on my current project, i am not able to share it as a new project through subversion. i think android studio is holding onto the url of the previous project. so my question is how can i change this? i want to share my newly created project as a new one through subversion. how can it be done?
i remember when i used eclipse, i was used to deleting the CVS directories from my newly created projects which are copied from other ones, and it worked flawlessly. is there any way like this with android studio?
thank you.
I got my answer eventually. the trick was to delete the .svn directory hidden in the root folder of my project. deleting that directory gave the prefect result. and i was able to share my project as a new one through subversion.

Android Studio package files not adding or committing

I'm trying to put my Android Studio project on Github for backing up purposes, and for some reason I can't add the files under com.thing.otherthing to the commit. I can back up the layout files, the gradle stuff, and the built apk, but when I try to add the actual source code it reads "com.thing.otherthing" as one directory and does not copy any of the .java files inside to the Github repo.
Anything I'm doing wrong here?

Git with Visual Studio Source Control Explorer available yet?

we set up Git as version control system (we used tfs before). Now the source control explorer is not available anymore.
I found this thread from 2013:
Using Git in Visual Studio, how do I navigate repository files?
It's 2015 now and I cannot find any info from late 2014 or 2015. Does anybody know something new?
Thanks
VS2015 still does not have a file browser for Git projects. They do have a list of *.sln files that can be opened within a Git repo. If you have say a "ReadMe.txt" at the root level of the repo though, you still need to open it in explorer or command line and modify it (either by adding to VS or elsewhere), then the file will show up in pending.
In VS2012, there was an add in called "Mindscape File Explorer" that added a file explorer. You could set the root directory to your projects folder and save you from leaving VisualStudio.
Apparently no one at Microsoft cares about solving this problem since it's been around for years now. Seems like it would be an easy win to just show all files at the project root level in either the solution tab or a new project view tab.
Visual Studio "15" Preview has an "Open Folder" feature that let's you load up any folder in the Solution Explorer but it's not connected with Source Control, you have to do it manually after you've connected with the repository in Team Explorer but it's better than nothing.
You can right-click the file to access History, Commit, Compare with unmodified, Undo, Go to git changes... etc

Resources