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

Error: No command found with the name “todo.refresh”. #6

Closed Tekl closed 3 years ago

Tekl commented 4 years ago

I added the TODO panel to my left sidebar and pressed the refresh arrow. It shows me this message:

CleanShot_145249@2x

I already reinstalled the extension.

jasonplatts commented 4 years ago

Hi @Tekl. Thank you for reporting this issue. I know you said you reinstalled the extension so you most likely have the latest, but could you confirm for me the version you are using? Also, are any todo items being listed in the sidebar?

Tekl commented 4 years ago

It's Version 0.3. There's no item listed at the moment.

That's how I tried to use the extension:

The debug console shows this:

Extension encountered an uncaught exception:
/Users/****/Library/Application Support/Nova/Extensions/jasonplatts.TODO/Scripts/ToDoDataProvider.js (Line 188, Column 0)
Error: The folder “undefined” doesn’t exist.
    [native code]
    getDirectoryFilePaths@file:///Users/****/Library/Application%20Support/Nova/Extensions/jasonplatts.TODO/Scripts/ToDoDataProvider.js:188:41
    process@file:///Users/****/Library/Application%20Support/Nova/Extensions/jasonplatts.TODO/Scripts/ToDoDataProvider.js:18:52
    ToDoDataProvider@file:///Users/****/Library/Application%20Support/Nova/Extensions/jasonplatts.TODO/Scripts/ToDoDataProvider.js:6:17
    file:///Users/****/Library/Application%20Support/Nova/Extensions/jasonplatts.TODO/Scripts/main.js:4:40

TODO Probleme werden eventuell gemeldet unter https://github.com/jasonplatts/nova-todo/issues
jasonplatts commented 4 years ago

I appreciate the extra information @Tekl. The problem is that the extension currently assumes that the user is working in a project and searches the directory structure rather than the open documents.

Panic will be releasing Nova 3.0 soon, which I believe will allow the extension to better handle file processing. When that is released, I expect to revise and restructure much of the existing code and I will be sure to keep this issue in mind.

Thanks again! I will add any updates here.

jasonplatts commented 3 years ago

Hi again @Tekl. This issue should now be resolved as of version 0.5. Please let me know if you have any additional issues with the extension. Thanks again!