Michel Keijzers
Michel Keijzers

Reputation: 15367

How to remove include file TODO's from VS itself from the task list?

Suddenly I get like 10 TODO's in my task list in Visual Studio 2022, which are inside the folder

 C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\...

I'm doing a C++ Console project.

The strange thing is that these TODO's didn't pop up yesterday (and not even closed Visual Studio).

What I tried:

I could overwrite the C++ VS include files by removing the TODO's in the source, but that seems like a strange hack.

How can I get rid of these unnecessary TODO's in the task list?

Below is a screen of the TODO's.. only the last 8 are mine (which are not in C:\Program Files (x86)...

Update

I found the reason.

I added the following include statement:

#include <Windows.h>

Because I want later to change (external) windows positions. However, the question remains the same.

enter image description here

*** Update 2 ***

My Tools/Options, Task List setup window looks like this:

enter image description here

Upvotes: 1

Views: 112

Answers (0)

Related Questions