Is there any addin or feature available to locate a project, or a file in solution explorer directly without using Ctrl+F (find) ?
We are having 1000's of project , each having N number of files inside.
Difficult to navigate using Find option.
Solution Navigator from Productivity Power Tools adds a new tool window with soultion search.
Related
Our project documents are currently maintained using TFS. Visual Studio (2013) allows me to view all the checked in documents through the Team Explorer window, under Documents.
In Team Explorer, when I double click a document, it first opens up an Internet Explorer window, which downloads a copy of the server file. I have to then open up the document manually using Word/Excel etc. which then gives me the option to Check Out.
Involving Internet Explorer to open up a file seems really convoluted. Is there any way to configure/launch the appropriate Office program directly from Visual Studio?
Found a solution: was fairly obvious if I'd looked properly.
Team Explorer -> Documents -> Right click on document -> Edit
I was wondering if there is possible to find all occurrences of a particular assembly referenced to in many projects in a large projects solution.
Visual Studio should natively support that feature.
Solution to do that is click right button on require assembly in solution explorer and choose option "Project Hierarchy" and eventually click refresh button in appeared dialog window...
Natively supported by VS. I like it :) !
Is there any way to force Solution Explorer in Visual Studio 2010 to sort files alphabetically but in order *.h, *.inl and *.cpp?
I want to have
Dummy.h
Dummy.inl
Dummy.cpp
Emmy.h
Emmy.cpp
Grammy.h
Grammy.cpp
instead of
Dummy.cpp
Dummy.h
Dummy.inl
Emmy.cpp
Emmy.h
Grammy.cpp
Grammy.h
No, there is no such feature built in.
I don't know of any extension or add-in that supports this, either, but I imagine that you could create one. Get started with the Visual Studio SDK, or browse the Visual Studio Gallery for something that serves a similar purpose.
However, the Solution Explorer does support grouping related files (such as headers, resources, and code files) into virtual folders. Turn that feature on by deselecting the second button to the left at the top of the Solution Explorer window labeled "Show All Files".
I love the Solution Explorer > Right-click > "Open Containing Folder" feature of the PowerCommands extension for Visual Studio 2010. I want the equivalent of a "Jump to location in Source Control Explorer" feature. How can I find out the location in TFS of a given open file, or a file in the solution explorer (or a file in the solution navigator in you have the Productivity Power Tools extension)?
The best answer would be a couple of mouse clicks and no keyboard. Next best answer would be a hotkey mapping.
The only solution that I have found so far is to use the Productivity Power Tools extension which has the feature "Find in Source Control". A file in the results list can be right-clicked to "Open folder in Source Control Explorer". The drawbacks to this solution is that is takes many clicks, and the search results can match more than one file if files exist with the same name in different folders.
There is a stand-alone extension that you can download, called Locate in TFS, within Visual Studio.
"Locate in TFS" on TFS Gallery
"Locate in TFS" on GitHub
This also works on files that you "Exclude from source control", as many developers do with the web.config files.
psulek's post, above, mentions this as part of VSCommands, but I prefer the stand-alone extension.
Try Visual Studio extension VSCommands for Visual Studio 2012. It has feature called Locate in TFS. This will add new button to Solution Explorer Locate in TFS which opens active selected file/folder in TFS Source Control Explorer.
Feature request has been raised with Visual Studio team. Read here
I know it's probably too late. See TfsExt extension for vs2010
I'm not sure if it's possible, but it's a good suggestion.
These two examples show how to use the Visual Studio Extensibility APIs to access the TFS Source Control Explorer APIs.
http://blogs.msdn.com/b/edhintz/archive/2006/02/03/524312.aspx
http://blogs.msdn.com/b/bharry/archive/2008/07/09/working-on-tfs-sdk-improvements.aspx
For Visual Studio 2013 try lightweight extension TfsExt13
Resharper has some commands I just can't live without (keybindings are given for the Visual Studio template):
Open by filename (Ctrl+Shift+T)
Locate in solution explorer (alt-shift-T, useful only when solution explorer is configured not to track the current file already)
Does visual studio have alternatives to these that don't require Resharper? I know VS2010 adds the "Edit.NavigateTo" command (Ctrl+,) but it is slow and shows every useless symbol that might be what you want (too noisy).
Is anything similar offered by other perhaps free addons?
You might want to try the Solution Navigator feature that is bundled with the free Visual Studio Productivity Power Tools extension. It appears to have more powerful support for searching for files and symbols all combined within the Solution Explorer.