Glorfindel
Glorfindel

Reputation: 22631

Where is the Tasks window in Visual Studio for Mac 2022?

This morning I installed the 2022 edition of Visual Studio for Mac (17.0) and was surprised to see the 'Tasks' pane was gone. That scans your solution for comments with TODO or FIXME in them. This is a screenshot from VS 2019, the pane is at the bottom and if it's not visible, you can reveal it from the View menu.

enter image description here

However, that option is not available in the newest Visual Studio, not even under Other Windows or Debug Windows:

enter image description here

It is available in the newest Visual Studio for Windows (though it's called Task List, Ctrl + W, T). How can I restore this feature on my Mac?

Upvotes: 2

Views: 575

Answers (3)

Glorfindel
Glorfindel

Reputation: 22631

As @VsMs mentioned, a new release (17.3) has fixed this problem and the Tasks window is now available:

enter image description here

Sorting (on description, file or path) still isn't working, but that's another good reason to keep this list small ...

Upvotes: 1

Vs Ms
Vs Ms

Reputation: 101

At this point, there is - UNFORTUNATELY - no Task-Window available.

Check out the Known Issus - click, @glorfindl there might be a release in the pipeline: check

Upvotes: 1

Glorfindel
Glorfindel

Reputation: 22631

It's entirely possible that I'm overlooking something, but this is what I'm using now as a workaround: use the Find in Files option ( + + F), check 'Use regular expressions' and enter something like (FIXME|TODO|NICETOHAVE):

enter image description here

The NICETOHAVE wasn't included in Tasks but it's something I picked up from Eclipse / Java. It's certainly possible to make a more sophisticated regex which checks if it's inside a single-line comment, but for now it works ... sort-of:

  • You can't sort the search results on code
  • If the comment is preceded by actual code on the same line, you see that code as well
  • If you open a new solution, Find in Files still looks in the previously opened solution (but I'm sure further updates will fix this bug)

Upvotes: 0

Related Questions