I made a mistake while using Team Server Foundation. I had requested a code review and also added myself as a reviewer so I could add comments on each file. Once finished, I closed the review without realizing it would close it for everyone else.
How do I re-open a closed review? All it gives me is grayed out text or no available actions anywhere I try to open it (Source Control Explorer, Team Explorer, and Web).
You can't but you can still view the review.
In visual studio, in the Team Explorer panel click on Pending Changes.
Click on Action and select Find Shelvesets.
Enter your username in the research box.
In the list click on the code review you want to open.
The view as change for the Shelvesets Details.
In the Related Work Items section. Open the work item for the review.
And there it is.
You cannot re-open a code review, you will need to create a new one.
Related
I am trying to create an extension for Team Explorer window in VS2017.
I want to put another button on the changes screen, or even hook into the commit method, so that I can take the comments, and integrate with a Kanbanize board.
It seems like it should be possible to but a button onto the Team Explorer window, but there doesn't seem to be any documentation I can find, or examples.
I have looked around and can only really find this link below, which I tried but doesn't seem to work, but isn't really what I am wanting to do.
https://hamidshahid.blogspot.com/2017/09/extending-team-explorer-in-vs2017.html
The Team Explorer extensibility is designed to enable adding new sections to an existing page, but altering the existing sections to change their UI/behavior is not allowed. Given this design constraint, you can add your own UI, but it'll need to be in a separate section. You should be able to read the selection data from other sections on the Git Changes page via IChangesExt.
Hope this helps.
My team uses TFS 2013/Visual Studio 2013 to do code reviews. It all works fine but there is a really annoying thing which VS does that I can't seem to turn off.
If I submit a review and it comes back with suggested changes, I go through and make them, checking each one off as I go. The problem is each time I mark a code review item as done by checking the box to the far right of it in the Team Explorer -> Code Review view, VS opens the diff window for that particular item showing the review comments. I don't want to see any of that, I just want to mark the item as done so I know I've dealt with it.
Is there any way to prevent VS from showing the diff window when you mark a code review item as done?
I'm using Visual Studio 2010 and sometimes in some of my projects, for reasons that are unknown to me, the "folders" displayed in the Solution Explorer change and I can never seem to change them back unless I create a new project and copy the files over.
I want the solution explorer to display "Header Files", "Source Files" and "Resource Files" instead of just "Debug".
Here's an image of what I want it to display like when I create a new project:
http://www.jumbala.net/VS2010_SE_HeaderSource.png
Here's what it displays sometimes:
http://www.jumbala.net/VS2010_SE_Debug.png
I looked in the menus and I couldn't find anything to change it back.
Edit: Someone posted that I had "Show all files" checked in the second image, but he/she deleted his/her post. So yeah, that's why it wasn't working. I feel like an idiot for not noticing, but I thought that button and the one on the left (which is 'Properties') were mutually exclusive and so I had tried pressing 'properties' but not 'show all files'.
Thanks whoever posted the answer and deleted it.
To fix this, just uncheck the "show all files" button that appears ticked in the second image.
I'm looking for a way to have the current TFS workspace displayed in Visual Studio.
It's visible when I open the Source Control Explorer (or Pending Changes), but I want it to be visible too when I'm editing code. So for example showing it in the toolbar, or in the window titlebar, or in the bottom status bar, doesn't matter as long as I can see it with a single glance.
Any tips?
You can use the "Rename Visual Studio Window Title" extension https://visualstudiogallery.msdn.microsoft.com/f3f23845-5b1e-4811-882f-60b7181fa6d6 and use the [workspaceName] attribute. Hope it helps.
There is a add on that shows this info, you can dock it somewhere :
http://visualstudiogallery.msdn.microsoft.com/384a4952-6b6f-4391-bc59-1b2bd38e1baf
There are a couple of options to do this without an additional plugin.
Use the Properties view
Select the solution, a project, or any file in Solution Explorer
Press F4 to go to the Properties view. The full path to your solution will be shown.
Note that right-clicking the solution or project and selecting Properties (Alt-Enter) will take you to the Properties Pages which doesn't have the information you want.
Use the Source Control Explorer
Opening Source Control Explorer will show you the last accessed workspace. Most of the time, this will be the workspace for the solution you are working on. However, if you have had two Visual Studio sessions open for different workspaces, I have seen the first VS session switch to the workspace of the other VS session.
Use the Pending Changes view
Pending Changes will show the workspace just under the header for the view.
You can get to Pending Changes through:
Team Explorer => Pending Changes
View => Other Windows => Pending Changes
Hover the mouse over an open file, the tooltip will show the full path to the file.
I used to be able to right click Folders in my project and click 'refresh' to refresh the files within them, I don't see the option to do this any more, how do I fix it? The same thing has happened at work and at home.. has it always been like this and have I gone insane?
I still have the option. You might be able to get it back by customizing the context menu. Refresh is under Commands > View in the Customize dialog.
The refresh icon is at the top of the solution explorer for me, does the job