fabiospampinato / vscode-todo-plus

Manage todo lists with ease. Powerful, easy to use and customizable.
MIT License
902 stars 228 forks source link

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

Open pipe-organ opened 8 months ago

pipe-organ commented 8 months ago

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?

nemanja010 commented 5 months ago

@pipe-organ Have you figured it out?

keychera commented 3 months ago

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"
        ]
}