I just installed the latest Aptana Studio 3, imported a project from an existing folder and started to change files. I can right click and use the Team commands to commit and push, they work fine. I would like to have these functions easier to access from buttons located in the Toolbar.
I tried Right Click on Toolbar -> Customize Perspective. The Team option is enabled in Command Group Availability and also selected in Tool Bar Visibility. However, in Tool Bar Visibility, the single option listed under Team is Synchronize.
Any advice on how to have Commit and Push on the Toolbar? (I'm on a Mac, if that makes any difference)
Related
Is there an alternative to the Xcode button "Show only files with source-control status" in Android Studio?
It sorts the files and only shows in Project Files Navigator the ones you have modified.
If you want to see files to commit you can use cmd+k (mac).
Also you can open "Commit" panle on the left edge.
You can view all changed files in the Git tool window (assuming you use Git), under the Local Changes tab. Alternatively you can click on the down arrow at the top of the Project (Cmd+1) view and select All Changed Files.
We get source control explorer for the TFS source control model, and it is productive.
Do we get a similar source control explorer for Git in Visual Studio 2017?
If we do have it, how do I navigate to it?
In short, no, there is no built-in UI support for Git in Visual Studio 2017.
Alternatively, you can try the following extensions based on your source control setup.
In Visual Studio, select Tools → Extensions and Updates, select Online on the left pane, search for one of the following in the search bar in the top right:
Bitbucket → install Visual Studio Bitbucket Extension
GitHub → Install GitHub Extension for Visual Studio
Git → Install Easy Git Integration Tools
The first two do a good job of providing UI controls to work with source control as they relate to Bitbucket or GitHub in a similar fashion to regular TFS integration (that you may be familiar with). I haven't tried the third one myself, and I'm not sure what that one is like.
Please see the Solution Explorer - Folder View. This can be accessed from Solution Explorer (open with CTRL+W, S), then by clicking the Solutions and Folders toggle button. In Visual Studio 2017, it looks like this:
Though it's not a 1:1 capability of the Team Foundation Source Control Explorer view, it does have the ability to view files in the local repo, open, view history, etc.
Visual Studio does not currently have Source Control Explorer for Git repositories. You might consider voting on this User Voice item to help the product team prioritize features:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4178754-visual-studio-tools-for-git-extension-microsoft-g
In Visual Studio 2019, open the folder for the work space using "File->Open->Folder...". The solution explorer, via "View->Solution Explorer", should display all the files which you can then right click to view history and other GIT operations.
Is there any way or some unobvious workaround to make the Solution Explorer refresh automatically (in Show All Files mode) when there are changes to the project directory tree? Currently if I rebuild a project with different output settings (which would add some files and remove some others), no changes would get reflected in Solution Explorer until I manually click refresh button. Doesn't seem too convenient for a tool aimed at programming, i.e. automating repetitive tasks...
Update
A picture is worth a thousand words:
My relevant options # Tools > Options > Environment > Documents:
Let's assume that Release directory is empty and Show All Files mode enabled
Now, I build my Release config... Build succeeds, but no changes are visible in Solution Explorer:
Only after I hit refresh button manually can I see the results of build process:
So I'm basically asking if there are ways to make Solution Explorer update automatically when changes occur, not to make externally modified files auto-reload in VS editors.
#Sunny Moon - There is no option right now to automatically refresh the project tree if changes are introduced. You have to manually select the Refresh button in the command bar of Solution Explorer. I'm going to track this feedback along with other areas I've been collecting for Solution Explorer so thanks for sharing your frustration here.
Thanks!
Cathy
Visual Studio IDE Team
Just set check the “Auto-load changes, if saved” check box on VS2013 Option menu >> Environment menu.
That was impossible in VS 2013 and 2015, but with 2017 Microsoft did the right thing and revamped the Solution Explorer a bit - now there is clear and logical separation between solution (virtual) and folder (physical) views, and changes to the filesystem are now tracked and displayed automatically.
I'm using the TFS Server offered by Visual Studio Online and Visual Studio 2013.
I've mapped the DefaultCollection to C:\Users\xy\Source\TFS and the first Team Project TP1 to C:\Users\xy\Source\TFS\TP1.
Now I have a second Team Project TP2 which would automatically be mapped to C:\Users\xy\Source\TFS\TP2. Is it possible to change the path for TP2 to a completely different folder?
Yes, this is possible, but not really straight-forward. I'd advise to have a clean workspace without any pending changes, especially in the team project that you want to map differently.
Open Source Control Explorer.
In the toolbar of the window you can see a drop down box with your workspace. Choose Workspaces....
Select your workspace and click Edit....
The dialog contains a grid Working folders that you can use to add special mappings. A picker dialog for the TFS side and the local file system structure support you in this task.
Leave all the dialogs with Ok.
"Track changes" in Visual Studio shows what lines have been edited in the current session (shown next to the scroll bar). But to me it is much more meaningful to see what lines have changed from the last version in version control.
In Eclipse this is possible. Is it possible to have the same in Visual Studio? I am using VisualHg, and Mercurial, but I suppose the same principle should apply for other version control solutions.
I suppose you want to see the changes next to the scroll bar such as the track changes.
I don't know how to achieve that. But I use TortoiseSVN and have an addon for VS (ankhSVN is the name, I guess), which lets me do a right click on the file and do show changes. There pretty sure is an equivalent addon for mercurial.
Maybe an addon such as Power Tools or VS Commands may provide a way of marking the lines you've changed next to the scroll bar.