GithubHelp home page GithubHelp logo

jasonplatts / nova-todo Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 7.0 9.59 MB

A Panic Nova extension for todo and fixme management.

Home Page: https://extensions.panic.com/extensions/jasonplatts/jasonplatts.TODO/

License: MIT License

JavaScript 98.72% HTML 0.23% PHP 1.04%

nova-todo's People

Contributors

flother avatar jasonplatts avatar peteschaffner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nova-todo's Issues

I'm having trouble excluding some directories.

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!

Screen Shot 2021-01-20 at 5 20 39 pm

Add configuration option to change tag delimiter.

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)

Unable to configure for Rails project

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?

Support for Remote Files

Hello,

I installed todo extension, restart nova, and add sample tag in my code, but nothing is showing

Where i'am wrong ?

Capture d’écran 2021-01-20 à 23 23 29

Regards

TODO is not ignoring folders

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.

Scrolling glitches with a minimap

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:

  1. Open a bigger file, and click on a minimap somewhere end of the file. It scrolls as expected.
  2. Then click inside the editor somewhere to put a cursor — it gets scrolled to the top of the file.

Screen Recording 2023-06-21 at 14 37 24

Why restrict to certain tag syntax?

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.

Highlighting the Tag

What code should be written in HTML or CSS to highlight the TODO in the sidebar?

plugin is unresponsive with 100's of egrep spawned

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.

Parse TODOs in Markdown files.

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.

TODO item does not link to correct line

Screen Shot 2021-07-27 at 7 31 09 pm

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.

  • Highlighted line (100) is incorrect
  • Actual line that TODO refers to is line 124

This issue is consistent throughout my projects however the number of lines that the pointer is out varies.

/DM

Performance Issues

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!

Add configuration option to run the extension only in the directories specified

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.

How do I remove Ignored Files and Directory Paths from Project Settings

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.

Sidebar 'Group By' state is not reverted after document save

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

Too Many Workspace Files

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?

TODO crashing on double click

Hi there,

Using Nova 4.1 on macOS 11.1.

When double-clicking a TODO, it crashes the extension.

Screenshot 2021-01-19 at 12 05 21

Thanks for your time!

Add excluded files.

Add the ability in a preferences window and/or in the context menu in the TODO sidebar to exclude files.

Indicate that there are todos

It would be great if the TODO icon in the sidebar would also indicate that there are todos at all. Like that you'd have an active reminder that there are tasks to take care of. This could be similar to what the validation icon does (see screenshot, purple dot next to the warning triangle).

image

Appear in Symbols list?

Is it possible the labels could appear in the symbols list?

It's the main one I use for getting around my code, and i'm currently using generic markers to do this, eg.
-- ! MOVE TANK

image

it would be much nicer to do this
eg.
-- ! TODO: MOVE TANK

and get unique icons in the Symbols list

Extension doesn't work ?

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

TODOs not showing in sidebar

I really appreciate your time developing this extension.

  1. Sidebar states "No tags found. Monitoring..." continuously until you save an open file with TODO comments.
  2. Clicking the refresh icon clears the sidebar list of TODOs.
  3. Sidebar list of TODOs is cleared when exiting a project and not retained when reopened.

Running Nova: 10.3
TODO Extension: 3.0.3

How do I use this?

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 todo()! macro

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.

Can't ignore two or more files

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.

Topic tag support

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.

Shortcut for sidebar

Hi!

I use custom key binding shortcuts to toggle menu entries in the left sidebar. Maybe it is possible to add a custom shortcut into the 'Key Bindings' section for the TODO entry in the left sidebar into the settings menu of nova.

Thanks.

Screen Shot 2021-08-03 at 21 17 40

Add several useful tags

Could you add some useful tags for processing?

[INFO]
[NOTE]
[HACK]
[BUG]
[DEBUG]
[ERROR]

[WARN]
[WARNING]
[ERR]
[FAIL]
[FATAL]
[TRACE]

I usually use them with PragmataPro Liga font.
PragmataPro Liga TODO ligatures

One screenshot

One screenshot, at least, showing how this actually works, would be nice.

Filtering support

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? 😄

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.