Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Todo files with multiple projects in a workspace #397

Open
tmaoz opened this issue Aug 18, 2024 · 2 comments
Open

Todo files with multiple projects in a workspace #397

tmaoz opened this issue Aug 18, 2024 · 2 comments

Comments

@tmaoz
Copy link

tmaoz commented Aug 18, 2024

Hello,

I have a workspace with many projects. I created a "TODO" file in the root of one of the projects (actually the last project I added out of some 10 projects in this workspace) but it does NOT appear in the list in the sidebar.
When I click on the "open" button on the todo panel, it opens a new "TODO" file in the first project in my workspace.

This leads me to believe it doesn't really look at any other project in the workspace when looking for TODO file. Can this be possible?
I was trying to figure out the issue but can't find any kind of output or debugging information from the extension anywhere?

Thanks!

@tmaoz
Copy link
Author

tmaoz commented Aug 18, 2024

Update:

I went to the first project root in my workspace and deleted the empty "TODO" file that was created there. Then, when I click on the "open" button for the "Files" section in the Todo panel, it actually opens the correct TODO file. However, the "Files" list in the side panel is empty and nothing appears there:

image

I guess this is a different issue then?

@tmaoz
Copy link
Author

tmaoz commented Aug 18, 2024

I seem to have stumbled on the issue that causes this.
Apparently there a folder in one of the projects in the workspace (not the one with the above TODO) for which my user doesn't have access permissions. This causes an error to be thrown by VS Code. I assumed that despite this error the extension would continue to scan for TODO files but it looks like it just crashes that scanning and it stops at that point.

I added the path to the exclude list and no everything seems to be working.

You should make sure to continue scanning despite such errors even when raising an error with VS Code.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant