I've just moved to MSVS2013 from MSVS2010. On 2010, I was able to use my own diff util. It allowed me to skip from one change to the next and if the entire change is not wanted, I could back it out with a single keystroke.
Under 2013, I can't seem to select my own diff util, nor can I just backout a change group with a single keystroke.
Is there a way of changing the diff util? Or is there a way of backing out a change group with a single keystroke?
I just ran an automated code modifier and I have a lot of files to go through. I don't want to have stop my searching using F8/Shift-F8 just to pick up my mouse to copy and paste each change group that I don't want. :(
Not sure about the rest of your question, but you can change the diff tool in:
Tools->Options->Source Control->Visual Studio Team Foundation Server->Configure User Tools.
Heres a post regarding setting up Beyond Compare with some screenshots:
How to configure Visual Studio to use Beyond Compare
Related
I have a question about Visual Studio 2013.
I just installed it and it seems pretty good because of the new features.
But there is something I do not like:
Is it possible somehow removing these 3 x buttons ? Or just one of them?
Yes you can hide them.
Close Visual Studio.
Open regedit and find MainWindowFrameControls.
For example I want to remove:
1) Sign In
2) Notifications
So I need to delete:
{304ee989-b7c9-46c8-aa48-f080bc47cee0}
{73988e61-7e30-4e87-b891-23b5e460db21}
You can also delete them and it will work (you can remove feedback also by this way).
Although sometime VS recreates that keys. But solution is very easy - instead of deleting make right click and go to Permissions, add Everyone - Deny - Read. So now nobody will be able to read that keys including VS.
You can remove it to go to original state by the same way.
At the moment the social features don't seem to have any corresponding options you can use to disable them.
There is a method that relies on using Visual Commander extension to repeatedly hide some of the buttons (as Visual Studio
often recreates them), which seems like the closest you'll get for the moment.
http://visualstudioextensions.vlasovstudio.com/2013/10/19/hide-sign-in-and-feedback-buttons-in-the-visual-studio-2013-main-window/ - You can view the code in the "Extensions" section.
Unless you're desparate to get rid of them, you're probably better of trying to ignore them, hopefully an option to hide them will become available.
You can use the Disable Social Features extension, which will programmatically hide both the 'smiley' buttons as well as your own name/photo from the front of Visual Studio.
I need to have different set of open tabs and tab groups for each of my tasks.
Import and export setting not helping me to do this, neither does this SO question that has been asked similarly but for windows/tools layout - i.e. NOT for the tabs/tab-groups.
How can I save and restore the saved set?
Late to the party here but it popped up pretty high in my google search for this kind of thing so I'll drop my find: Save All The Tabs.
One Marketplace Extension that works with Visual Studio 2013, 2015, 2017 and 2019 is the Workspace Manager.
One additional tip: after installing it and adding the toolbar, you might have to restart VS again until it fully works (see Q & A). At least I had to do so in VS 2019 (16.1.3).
You can save open documents and later reopen them as a group with the Favorite Documents extension.
Really late to the party but ContextKeeper plugin will do the job. Supports VS 2022/2019/2017/2015/2013.
It's an extension to quickly save and restore sets of document tabs and its metadata. The "session", similar to Vim's :mksession command, is defined as:
last opened/favorites files
documents (tabs with code) positions, state and order
tabs groups (including horizontal/vertical orientation)
remembers line&column for every opened tab
It also has a powerful git integration - automatically saves and restores context when switching between branches.
All contexts are saved to simple JSON files.
If you accidentally came here looking for a VS Code solution, from the same author of Save All The Tabs (for Visual Studio) that MushKov shared in this answer:
Restore Editors extension
press Ctrl/Cmd+K and Ctrl/Cmd+E to access the editors/tab menu
As seen on the screenshot below, marked by red arrows:
If I use Vertical Tab Split subwindow, I lose the ability to split insert another tab and split it horizontally. Is there any addon or setting I can change to be able to put my code tabs in sort of rectangle-grid?
Just to clarify - I don't want to see the same file contents twice. I want every tab to show a different file. I can't find the reason why such an oversimplification to ide was introduced.
I know it can be solved by opening many standalone windows, but that's hardly an answer for me.
Here's the example of how it looks like in Sublime 2
As you have discovered it's not a feature of the VS shell. For reference, it wasn't possible in VS2010 either.
You can vote for this feature on the Visual Studio Developer Community site - there's a specific request for it here
I'm using Visual Studio 2010 with VB.NET, in a 4.0 project, with Team Foundation Server. When I annotate, not only do I not see line numbers (which is apparently an unfixed bug with VS 2010 - http://connect.microsoft.com/VisualStudio/feedback/details/553557/when-invoking-tfs-annotate-in-visual-studio-there-are-no-line-numbers-shown) but annotate also advances the screen 10-15 lines, which makes it difficult to find the code I was actually attempting to Annotate.
Has anyone run into this before? Any chance you've figured out a fix for it? Even knowing I'm not alone would be nice.
I've run into this also, but keep in mind the following:
If you Annotate from Solution Explorer, it'll start you at the top of the file.
If you Annotate from the file with the right-click menu, it'll start from where your cursor is located when you go to annotate.
If you Annotate from the file with the File -> Source Control -> Annotate, it'll start from the top of the file again.
To find particular code that I want annotated I do one of two things:
Annotate with the right-click menu on the line of interest. Close the file when I'm done, and repeat as necessary.
Liberal use of Ctrl+F
Hopefully, the VS team will fix this next time around.
Late to the party for VS 2010 but according to the documentation (and it does work) you can also hover over the annotations and it lists the line numbers the annotation covers.
https://msdn.microsoft.com/en-us/library/bb385979(v=vs.100).aspx
I recently switched from a Java based project to a C#/.net project. I previously used IntelliJ which had the concept of change lists where you could group your pending changes together and check each group in individually.
I have two problems with the pending changes window in visual studio.
1) Every time I check anything in, visual studio checks the checkbox beside Every pending change in the list forcing me to uncheck each and every one of them so I don't accidentally check something in. This is extremely frustrating because there are several files that I need to keep changed to correctly run my code locally. Is there any way to change this default behavior to not check any pending changes on check-in?
2) Is there any way to group changes into lists as opposed one big bucket of changes? Again this becomes frustrating when I need to check something in, but I have to search through the files and check the pertinent changes. I understand that shelve sets exist using TFS, but that doesn't cut it for me, especially since I have several changed files that I need to keep altered in order to correctly deploy locally, and I rarely ever want to check in.
Thanks in advance!
I have to manage lots of changes every day in Visual Studio, and I've got a few tips for you, but no silver bullet:
Use Ctrl+A to select all items and then press a checkbox to toggle the checkboxes for all items. This can be useful when performing changes to only a few items -- just uncheck everything, then make sure you have only the items checked that you'd like to update.
Use Ctrl+Click (then right-click) to 'Undo' selected changes. By default, the undo action will only apply to the selected items.
You might want to experiment with using multiple Workspaces -- and then filtering changes by workspace or by solution.
No, I don't know of a way to fix your problems. It sounds like the best answer would be to refactor your configuration settings or code so that you can check in all of your changes.
If your changes are in different projects you can partition what you check in using the Source Control Explorer by right clicking on the project folder and checking in that way. It will auto check only the files in the folder you right click on. Just keep in mind the Source Control Explorer gives you some other options. Otherwise, I do not know of a way to manually control your change sets file-by-file thought if this exists I would like to know about it too.
You can also use Ctrl+A to select all items and then press Spacebar to toggle the checkedboxes as checked/unchecked.