Mark or highlight files in Visual Studios Solution Explorer - visual-studio

is there an Add-In which allows me to tag or mark files in Visual Studio and then these files are visual highlighted (eg. different background color) ?
I searched the Visual Studio Gallery but didn't find anything.
Thanks!

To highlight only the active (open and viewed) item in the solution explorer (without any add-ins):
Go to Tools -> Options -> Projects And Solutions
Then Check the Track Active Item in Solution Explorer option.
But if you really want to use any extension in order to mark the files you already checked/reworked so that you get an better overview or whatever then I would suggest ReSharper which has a number of features assisting navigation and search.
For example, there is a To-do Explorer which helps navigation between to-do items within the solution. You can also create custom filters in Resharper To-do Explorer. After creating custom filters according to your need, you will have to leave comments wherever required but you won't have to open all the files to read the comments.

I found the extension Visual Studio Tags on codeplex that can do what we need, but there's not (yet) visual support (ie, diferent colors in solution explorer).

Related

How can I extend the environment tabs in Visual Studio 2013?

How do you extend Tabs in Visual Studio 2013? It would be handy to extend the Tabs so that you can selectively track an item in Solution Explorer by right clicking on a tab.
By default, Visual Studio will track active items in Solution Explorer via the setting: Tools > Options > Projects and Solutions > General > Track Active Item in Solution Explorer.
Having that turned on makes Solution Explorer jump around, and is consequently confusing on large projects, so I turn it off. But, what I'd like to be able to do, is right click on an open tab, and select a menu item to make Solution Explorer track and display that file's location in Solution Explorer. Basically it would be on-demand selective file tracking.
I know hovering over the tab, you can see the file path and locate it that way. What I would like is a quicker shortcut to displaying the file location in Solution Explorer.
If there is a plugin that already does this, please let me know and provide a link. Otherwise, I'd be interested in knowing how to do this myself. Thanks.
There is a button on the Solution Explorer toolbar Sync with Active Document and the corresponding command SolutionExplorer.SyncWithActiveDocument for keyboard binding.

Filtering the Visual Studio toolbox

Does anyone know if it is possible at all to filter the Toolbox's items in Visual Studio using an add-in?
Visual Studio 2010 introduced the ability to search but I want to filter, for example: type in button and it must show all items containing "button", same as on this on this Delphi XE screenshot:
This is a very good answer for this question. I copied from the VS blog:
In VS 2010 Beta2, we’ve added the ability to search for controls in the toolbox by name. To use it, put focus in the toolbox (by clicking in it, for example) and start typing the name of the control you want to find. As you type, the selection will move to the next item that matches what you've typed so far.
http://blogs.msdn.com/b/visualstudio/archive/2009/10/26/toolbox-search.aspx
This is something not possible as microsoft does not reveal the secret of adding toolbox controls details completely. They make change the process for each platform and for each versions of visual studio. if we have a clear details of how they add, we can also do the similar kind of small application with search capability and add it as add-in.
Luckily Visual Studio 2012 now has that feature!

Custom file sorting in VS2010 Solution Explorer

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".

How to jump to a file in the Source Control Explorer in Visual Studio

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

What are some good usability addins for Visual Studio 2008?

I've been using Visual Studio for a long time and the constant shuffling of the code tabs at the top drives me bonkers. I was wondering if there were any add-ins that might change this or other UI behavior.
Things that might be cool:
Sticky Tabs that won't go away.
Multi-code file collapsible tabs (maybe each tab being a project?).
Having the solution tree go to the file you are currently looking at automatically. Thanks Omlette!
Your idea here.
I've done a bit of googling and haven't been able to find anything useful.
The "Having the solution tree go to the file you are currently looking at automatically" feature already exists in VS2008, but isn't enabled by default. Go to tools -> options -> projects and solutions -> general and check the "Track Active Item in Solution Explorer" box.
Rick,
Tabs Studio add-in for Visual Studio is a replacement for built-in tabs. Multiple rows of tabs make them always visible. Tabs can be grouped, it is probably close to what you call "multi-code file tabs".
See Tabs Studio home page for more information.

Resources