Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.42k stars 137 forks source link

Not working for local files opened in a Remote WSL context #580

Open dufferzafar opened 2 years ago

dufferzafar commented 2 years ago

As can be seen from the Screenshot, the TODO at line 10 is not highlighted!

image

The currently opened file is local (as in, the path is not inside WSL) but the VS Code instance is running under Remote WSL context.

Gruntfuggly commented 2 years ago

Can you enable the debug channel (todo-tree.general.debug) and post the output from the Output window please?

When you say the file is local, what is it's path? The extension won't be able to scan files that aren't local, but it should still find todos in open editors. It might be that it thinks the file isn't a standard file, so you might need to add something to todo-tree.general.schemes.