fabiospampinato/vscode-todo-plus

Can I make TODO Sidebar to show .todo files outside current folder?

Opened this issue · 2 comments

Thanks for making this fantastic plug in. I absolutely love this thing and super intuitive but there is one thing that I want to figure out.
I am using the project manager to switch between projects. And TODO Sidebar Files only show the files in the current folder or current project. Is it possible to make a file always show under files no matter which folder/project I am working on? I want to keep a global TODO lists and currently only way to do that is to open the file manually every time. Is there a way to "bookmark" specified file(s) to the sidebar files section?

@pipe-organ Have you figured it out?

I think you can achieve this by adding absolute path of your global todo file in the setting ID todo.file.include

like this (in the json file opened by Preferences: Open User Settings (JSON))

{
    "todo.file.include": [
            "**/TODO",
            "**/TODOS",
            "**/*.TODO",
            "**/*.TODOS",
            "**/*.todo",
            "**/*.todos",
            "**/*.task",
            "**/*.tasks",
            "**/*.taskpaper",
            "**/todolist.txt",
            "C:/path/to/your.todo"
        ]
}