Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide TODO tag in Visual Studio Task List

Our codebase has a bunch of TODO comments that no one will ever fix and that the boss refuses to remove.

I would like to hide the TODO's from the Visual Studio task list and just show my custom MEDO tags.

It appears that Visual studio will not let you remove the TODO tag from the task list. The remove button is grayed out for TODO. (You can remove all the other default tags, just not TODO.)

Does anyone know some kind of hack or something that will allow me to remove them anyway? Maybe editing some config file somewhere?

like image 478
Cory-G Avatar asked May 05 '17 20:05

Cory-G


People also ask

How do I see all TODOs in Visual Studio?

From within Visual Studio Go to View -> Task List. This will display the Task List window and show you any area of your open Solution that has existing comments that start with // TODO . You can filter down to your Current Project, Current Document, or Open Documents.

Does Visual Studio have todo?

By default, Visual Studio includes the following tokens: HACK , TODO , UNDONE , and UnresolvedMergeConflict .

What is task list in Visual Studio?

Visual Studio provides several tool windows helping developers to keep track of their project. Task list collects information from source code, so it is available at one place all together.

What is task list in VB net?

Task list is nothing but an integrated to-do list within the Visual Studio framework. We can use Task list feature of VS framework to create 3 types of tasks. Comments. Shortcuts. User Tasks.


1 Answers

As you've discovered, Visual Studio won't allow you to modify the TODO token, but you can trick it by using the Priority settings to filter it out.

First, set your MEDO token to "High Priority" as shown here:

Changing MEDO token to high priority

Then filter the Task List window to only show high priority items. (The filter button is hard to see on that column - you may need to widen it a bit.)

Filtering Task List to show only high priority items

like image 96
BJ Myers Avatar answered Sep 26 '22 07:09

BJ Myers