Page 1 of 1

How to use TODO feauture?

Posted: 19 Dec 2025 10:44
by evolutionary
Hello.
I dont know how use TODO:
I write in file some TODO lines, save file. But TODO list is empty.

Re: How to use TODO feauture?

Posted: 19 Dec 2025 11:42
by pjj
There are three problems I can see here:

1) If my memory serves me well (and I don't have a chance rn to verify it easily), TODO panel is for project's TODO; what you need is another panel: Code Explorer.

2) Part of Code Explorer panel for showing TODOs is rather... shy and you need to wait (or switch to another document and go back, or reload your document) for your TODOs to appear; sadly, there is no visual hint that a document is being scanned for TODOs, NOTEs and whatnots (yes, I have filled feature request 8) )

3) You could wait very long for your TODOs to appear in Code Explorer panel, though, and they wouldn't, because they should go inside comments, and in PowerShell you need to use # (or <# .. #> for comments, not //.

Hope that helps.

BTW, I can see there are some bugs with parsing of TODOs in PowerShell:

Code: Select all

# TODO 2
gives TODO level 1, as expected, but

Code: Select all

<# TODO 2 #>
shows level 2 (same goes for 3 and... 33).

Code: Select all

<# TODO foo #>
on a last line doesn't show at all.

Re: How to use TODO feauture?

Posted: 20 Dec 2025 07:57
by evolutionary
I tried different methods:

Code: Select all

# TODO: asdf
// TODO: adf
#TODO: adsf
#TODO : asdf
and any more...

I also switch documents, refreshed the list manually using the button "Rescan all files", and never seen a even item.
It feels like they don't work at all.

Re: How to use TODO feauture?

Posted: 20 Dec 2025 08:17
by pjj
Can you see them in Code Explorer panel?