Is it possible to show tasks for single project in visual studio 2010? - visual-studio-2010

I have number of projects in one visual studio solution and want to see tasks for one of them. Is it possible to do this in better way then search "//TODO"?
Upd:I know that there is a "Task List" (Ctrl+W,T) to show all tasks, question is how to display tasks for one project.

Just saw this while looking for a different problem.
Answer is yes you can.
In the task list window, hover over the Project header. A filter icon appears. Click it. Uncheck "all" then check the project(s) you want to view.

Related

Creating custom Task List Option Visual Studio 2013

I am trying to add a Task List item in Visual Studio 2013 (Tools --> Options --> Task List. The standard TODO, HACK, UNDONE and UnresolvedMergeConflict are present.
I'm creating a task item REFACTOR. I add it per the (very simple) instructions and I see all of the items in my list as I expect. However, whenever I close the solution and then reopen it, the task is gone from both the Options and of course the View Task List.
I've checked the settings file and this value is persisted after I close the solution, but at reload it appears that the settings file is not loaded. I can't find any documentation on this issue, and, the few articles on creating a new Task Item are so blatantly straight forward that I don't think it's a PEBCAK issue. TIA.
In the event anyone else has this issue (but it doesn't appear that they will, since I've had 0 response), I found that making the settings in TFS 2015, which I also have installed, solved the disappearing problem. Don't know whether it needed to be in both instances of TFS, or whether the newer version ruled, but it solved my problem.

How to display Zend Studio tasks for one project?

I'm using Zend Studio 9 and would like to use the tasks feature by adding tags in my code such as #todo etc. When I open the tasks view, there is a huge list of existing tags from other libraries that cause so much clutter the list becomes too cumbersome to use. Also, the list displays task tags for all my projects at once, which adds even more clutter. How can I display task tags for the one project I'm currently working in and hide tags from third party libraries? Thanks!
This works for me in Zend Studio 10:
Click on the triangle pointig down in the upper right corner of the tasks window.
Select "Configure Contents" (There can be two. The right one is the opening dialog with "Show all items" as the first control.)
You can define here a working set, not including the folders containing the third party solutions.
I hope this helps.

Task list for Visual Studio

I often find myself in need of writing down a future Visual Studio solution improvement. Having them at hand while working on personal projects is very handy and accelerating.
Is there an extension (or maybe even a build-in feature) that would allow me to write down future changes to a list, and mark rows as "done" after implementation is finished?
Yes. You can use the "Task List" in Visual Studio:
Menu View → Task List
Also, in the code, you can use tokens in your comments, so Visual Studio can auto-populate your task list. Such as:
//TODO: xyz
//HACK: ABC
The predefined tokens can also be extended:
Visual Studio → menu Tools → Environment → Task List → Tokens
You mean like a Task List?
It's right in the View menu... View → Task List
The button on the far right side will let you add a new task. Any code comments starting with "TODO" will also appear there automatically.

Writing VS2010 Extension

I'd like to create an extension for Visual Studio 2010. The functionalities I need are these:
Add a context menu item for Project (when user right clicks project name in his solution, he'll get my context item in the list).
When he clicks, a new WinForms form appears, where he can input some data, and an option to save that data for future reuse.
When he clicks OK on that Form I'll generate some files and add those files to be a part of his project that he rightclicked.
The WSCF.blue is exactly the kind of behaviour I want to immitate in VS, but it's source was written in VS2008, and I'd like to use VS2010 Extension options which are quite changed as I understand...
I found some resources on the msdn, but I found it confusing with incomplete info (e.g. MenuAndCommands example).
Can anyone shed some light on how to achieve what I'm after?
I really don't know where to point out so you can get specific examples of what you are trying to achieve. However, in the following resources you will find complete and detailed information about the overall process, and some help to achieve 1. and 2.
VS 2010 Package Development – Chapter 1: Visual Studio Packages
VS 2010 Package Development – Chapter 2: Commands, Menus and Toolbars

Visual Studio 2008 -- Can I change which "add reference" tab is selected by default?

Every time you start Visual Studio, the first time you click "Add Reference" to add a DLL reference to a project, by default, the .NET tab on that dialog box is selected. As most people reading this have probably noticed, it can take a long time -- often more than 30 seconds -- for the full list of .NET components to fill in.
Because of the way we're designing our solutions, though, about 80% of the time, I want to select either from the "Projects" tab or from the "Browse" tab.
Is there a setting anywhere in Visual Studio that will let me make "Projects" be the first tab that loads up? Does anyone know any other, hidden tricks to accomplish the same effect?
I use this tip to do this in a different way. Open your Object Browser (Cntrl + Alt + J). Change Browse dropdown to "My Solution". Select the project you want. On Toolbar, click "Add to References in Selected Project in Solution Explorer".
A neat work around which has saved me many hours.
If you have the PowerCommands for Visual Studio 2008 installed, there is functionality to copy-paste references between projects, as well as copy-paste individual projects as references, all without opening the references dialog.
I have never found anywhere that allows you to change the default tab. And yeah, it's annoying how long that window can take to load. I think this is something that we just have to live with.
Tuna Toksoz has created a Fast Add Reference dialog plugin for Visual Studio.
http://devlicio.us/blogs/tuna_toksoz/archive/2009/06/18/vs-addin-fast-add-reference-dialog-no-more-coffee-break.aspx
Another tip you might consider is that if you reference a type in another project, ReSharper will notice it and offer to add it to your references for you.
With this, I never visit that tab unless I have file dll references to add.
I am afraid the answer, as far as I can tell, is no. I even took a trip through the registry to determine if there was someway to reorder the tabs. You might be able to do it with a hex editor but I would advise against that.

Resources