jasonplatts / nova-todo

A Panic Nova extension for todo and fixme management.
https://extensions.panic.com/extensions/jasonplatts/jasonplatts.TODO/
MIT License
29 stars 7 forks source link

Extension doesn't work ? #30

Closed sadden3194 closed 2 years ago

sadden3194 commented 3 years ago

Good morning !

I installed this exstension and it doesn't work for me - maybe it is my mistake:

Bildschirmfoto 2021-08-09 um 08 07 10

There will no be any todos listed in the sidebar.

I get also a error message, If I clicked (right click) on the sidebar > open:

Bildschirmfoto 2021-08-09 um 08 11 40

Bildschirmfoto 2021-08-09 um 08 12 32

jasonplatts commented 3 years ago

Hi @Ghost108..

Try adding a colon after the tag name, such as “TODO:”. This should fix the problem.

Jason

sadden3194 commented 3 years ago

Bildschirmfoto 2021-08-09 um 13 21 50

No :(

jasonplatts commented 3 years ago

Sorry that you are still having problems with the extension @Ghost108.

A couple of things that come to mind…

  1. If this is a new document, have you saved the file? Tags won't be detected until a file has been saved.
  2. Would you mind clicking on "Show Extension Console" from the "Extensions" menu and letting me know if you see any errors?

Jason

sadden3194 commented 3 years ago

This file is not new, Yes I have saved this file.

This error comes only, after my steps above (right click sidebar > open) Bildschirmfoto 2021-08-09 um 15 11 05

no error else

jasonplatts commented 3 years ago

Hmm…sorry that didn't work for you.

The extension error you see in the console is not connected to the tags not showing in the sidebar, but is an unrelated bug that I will fix in the next release.

Unfortunately, I'm not able to reproduce the problem you are having. I now suspect it is something to do with your specific workspace. Perhaps, this file is within an ignored directory? If you start a brand new project, are you able to get any tags to appear in the sidebar?

If you are able to share more information, such as a sample problem file, the path of the file, and a screenshot of your extension preferences, I would be more than happy to help work through the problem.

Jason

sadden3194 commented 3 years ago

There are no ignored directories configured. On a new project it works fine.

The path of the file is a folder which I access via SMB. The extension settings are default : I change nothing after my installation today

jasonplatts commented 3 years ago

Thanks for the additional information. In a workspace, the extension relies on the OS egrep command. That command is likely producing no results when using a network location, therefore, no tags are being found.

Unfortunately, I don't have a quick fix for you. As a workaround, if it is possible to move the project to a local directory, the extension should work. I will give some thought to how this might be addressed in a future update.

jasonplatts commented 2 years ago

I am closing this issue because I am not sure of a way to provide adequate speed without using the OS egrep command. As I mentioned, a workaround is to move the project to a local directory. I am sorry I don't have a better solution for you. Ideas and pull requests are always welcome.