Problem Description
When Scan Mode is set to Workspace and Open Files, some duplicate versions of files show up in the TODO Tree structure.
Note that it is not simply a doubling of all open files. In this example utils.ts and rankup.ts are duplicated, but Rows.ts is not, despite being one of the open files.
This also causes the badge counter of TODOs to erroneously be increased:
Why not just set Scan mode to Workspace Only as a workaround?
The issue is that switching to a more stringent Scan mode disables the tree's auto-updating behavior. Under the scan mode of worksppace and open files, TODOs are instantly updated in the tree in real time, whereas being in one of the other modes requires a manual reloading of the tree.
Suggested Solution
If this isn't already the case, the list of files gathered should be turned into a strictly unique set. If this is already intended, then it must be the case that this behavior is bugged. Additionally, alt modes should also have the auto-updating behavior if enabled by the user.
Problem Description
When Scan Mode is set to
Workspace and Open Files, some duplicate versions of files show up in the TODO Tree structure.Note that it is not simply a doubling of all open files. In this example
utils.tsandrankup.tsare duplicated, butRows.tsis not, despite being one of the open files.This also causes the badge counter of TODOs to erroneously be increased:
Why not just set Scan mode to
Workspace Onlyas a workaround?The issue is that switching to a more stringent Scan mode disables the tree's auto-updating behavior. Under the scan mode of worksppace and open files, TODOs are instantly updated in the tree in real time, whereas being in one of the other modes requires a manual reloading of the tree.
Suggested Solution
If this isn't already the case, the list of files gathered should be turned into a strictly unique set. If this is already intended, then it must be the case that this behavior is bugged. Additionally, alt modes should also have the auto-updating behavior if enabled by the user.