jasonplatts / nova-todo Goto Github PK
View Code? Open in Web Editor NEWA Panic Nova extension for todo and fixme management.
Home Page: https://extensions.panic.com/extensions/jasonplatts/jasonplatts.TODO/
License: MIT License
A Panic Nova extension for todo and fixme management.
Home Page: https://extensions.panic.com/extensions/jasonplatts/jasonplatts.TODO/
License: MIT License
Hi, I'd like to exclude some directories and I'm wondering if I'm going about it the right way?
Here's a screenshot of what I've set. I'm not sure if I should be starting/finishing directory names with a '/' or putting the complete path from the workspace root or what?
If you have answers for me I'd appreciate an example in the documentation to help others.
Thanks for a very helpful plugin!
Just a heads-up. I'm showing more TODO's than you are. I think the reason for this is that when you parse you actually check for 'TODO:' not just 'TODO' which is the format that I have traditionally used throughout my code. So I did a search and destroy on the local code in the project to add the colons, but I'd rather not have to do that to all my projects.
Is there any reason that you require the colon?? Dropping this requirement will obviously match more entries. I would venture to say that it's not really needed - 'TODO' should not return any false positives as it's pretty unambiguous.
Could I therefore suggest an enhancement; making it a delimiter that is user configurable via text box in the settings dialog? This way users can tailor it to their particular coding style (TODO- TODO> TODO... TODO-- (TODO) [TODO] etc/whatever). The semantics of some languages tend to favour different styles as well, not to mention that may coders will adopt the style of the code author if they are working on libraries extending existing code.
Cheers. And thanks for a great plugin.
/DM
Originally posted by @DeeEmm in #26 (comment)
I have a Rails project (v6 + Webacker)
I'm continually prompted that there are too many workspace files. I have attempted to "ignore" as many folder as possible yet I can not reduce the number fo files enough that this message goes away.
I now believe that I am formatting the list of ignore folders incorrectly, and/or, even in the wrong preference field.
eg: Ignored File and Directory paths
/Users/ianbradbury/Documents/GitHub/at/vendors, /Users/ianbradbury/Documents/GitHub/at/tmp, /Users/ianbradbury/Documents/GitHub/at/test, /Users/ianbradbury/Documents/GitHub/at/storage, /Users/ianbradbury/Documents/GitHub/at/spec, /Users/ianbradbury/Documents/GitHub/at/public, /Users/ianbradbury/Documents/GitHub/at/node_modules, /Users/ianbradbury/Documents/GitHub/at/log, /Users/ianbradbury/Documents/GitHub/at/lib, /Users/ianbradbury/Documents/GitHub/at/db, /Users/ianbradbury/Documents/GitHub/at/config, /Users/ianbradbury/Documents/GitHub/at/bin,
I have duplicated this list into the Ignored File and Directory names to see if that is where I am supposed to add this detail.
I have added .tmp, .log to the list of file extensions to ignore.
When I view the ToDo pane I see the message "No profiles have ben created" and there are no TODO's listed.
I have added TODO tags in .rb and .erb files. None of the TODOs display - nothing displays - in the pane.
Example of how I am adding TODOs.
ERB file : <% #TODO: A todo %>
RB file : #TODO: Add error checking around this save
Please advise - is there some secret checkbox I need to tick?
Check that a TODO and FIXME tag is within a comment before including in the tree.
I have added dst/
to Ignored Names of prefs and it isn't working. Also tried dst/**
in case it was because file is nested; doesn't work either. I have tried restarting Nova again as I noticed it didn't seem to load anything to initially and alerted a No command found with the name "todo.refresh". That seems working now but could be a bug in there somewhere.
I thought it was Nova's issue but apparently, it is not. I turned off all extensions and with only this one enabled had such issues.
Steps:
Obviously, custom tags are a desirable feature — I see that "Add additional custom tags" is planned — but I'm a little confused as to why this tool doesn't just have tags be handled exactly the same way as ignored names/extensions? That seems to me like it would be even easier to implement.
I usually use tags at the end of a line, rather than preceding an explanation, so I'd like to be able to use tags like TODO
and %%
without following them with a colon.
What code should be written in HTML or CSS to highlight the TODO in the sidebar?
Just wanted to report this little bug:
filling in ignored paths
manually in project settings does not update the project configuration. However, updating ignored names
under Workspace Ignored Files & Directory Names does update the configuration.
I have tried to use this plugin several times over the last many months. But every time I re-install it I get a message that the plugin is not responding. In addition I can see that there are many many egrep processes spawned.
There must be something in my system or setup that is causing the problem but I have no idea what it could be. Any help would be appreciated.
I write a lot of text in Markdown files. It would be really helpful if
your extension wouldn't exclude .md files by default or if there
was a way to allow parsing markdown files in the configuration.
Thanks.
When clicking on the item in the sidebar the editor changes to the correct file, however the highlighted line is incorrect.
Please see above screenshot.
This issue is consistent throughout my projects however the number of lines that the pointer is out varies.
/DM
Hi, unfortunately I had to turn the TODO extension off, as it was causing Extension Service to crash. I don't have any actual replication steps, as it just happened when I opened my project. After disabling the extension, everything went back to normal.
Any suggestions on steps I can take to help identify the issue? Thanks!
Thanks for this extension!
One of the projects I work in has 100+ different directories, but my team only works in a handful of them. It would be really useful if the extension's settings exposed an option to "run only in the specified directories". Currently, there is an option to say which directories should be ignored, but the other way around would be great for large projects. I would imagine this could also boost the performance of the app since it would have a lot less to monitor.
How doable would this be for you? Thanks again.
I mistakenly added a path from a directory outside of the workspace. Then after clicking "Ignore Above Path" and adding it to the list, I realized the mistake and tried to delete it. If I remove it the list in the Ignored Paths textarea, it just repopulates the next time I try to add a different path. Nothings gets deleted. Only added to.
If a file is being edited in Nova and has no extension associated with it (like .txt, .go, .js, etc.) the plugin won't detect tags.
Seeing some strange behaviour, I wanted to group by tag type so I switched to that using the group by button. Everything was fine but then after I saved my document (which I assume triggers a project crawl) the group by state is lost.
I've only just installed the extension, haven't found anything in the settings that looks related to this.
Screen recording showing the issue, all I've done after typing abc123 is hit command+s which then reverts the group by
https://user-images.githubusercontent.com/18281573/213065680-36f1ffeb-1c35-4da3-800b-5c568465f4f9.mov
Whenever saving a file the extension brings up this message:
Too Many Workspace Files
Monitoring the current workspace would cause this extension to become unresponsive. Please consider adding additional excluded paths in preferences or including a git ignore file.
I globaly ignore all extension with the exception of .php files but the TODO sidebar is empty (No profiles have been created.)
What can I do?
Add the ability in a preferences window and/or in the context menu in the TODO sidebar to exclude files.
The file Configuration.js should be in lower case, otherwise the extension fails to start on case sensitive filesystems.
Line 4 in 49aac3a
I really appreciate your time developing this extension.
Running Nova: 10.3
TODO Extension: 3.0.3
Hello!
I just installed your extension in Nova, but can't figure out how to actually use the tags. Does it work for YAML files too? It can't seem to find any tags at all.
Rust's todo!()
macro has the same semantic meaning as a // TODO
. However, it allows the program to compile and panic at runtime. Some IDEs treat these 2 syntaxes similarly.
More info in the standard library reference.
Right click on file –> Ignore file in Current Workspace. File disappears. Then click on another file, it disappears. But the first returns at the file list.
A pattern that we use in code on my team, and that I find very useful, is to "tag" TODOs/FIXMEs/etc with a topic. In particular this can be useful during development of a feature on a large codebase where there may be many TODOs, but you want to be able to add some and then find them again more easily as you finish up the feature. They can also be used to tag those responsible for fixing them.
These TODOs look like this:
# TODO(my-feature): Remember to change this bit
...
# TODO(danpalmer): Remove this code supporting an A/B test
It would be great if nova-todo supported this!
Currently these do not match in nova-todo at all, so they are not visible in the TODO list. I suspect a quick change could solve this issue. For further support, formatting the topic/name, or even allowing grouping/filtering by them could be helpful.
Can you add support for the "NOTE" tag?
One screenshot, at least, showing how this actually works, would be nice.
A feature I found very useful (if not as MVP) is to have filtering support.
It is very difficult to keep track of the TODOs / FIXME / NOTE, and so on.. if you don't have filtering capabilities.
Any thoughts? 😄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.