mikaeljorhult / brackets-todo

Brackets/Edge Code extension that displays all TODO comments in current document or project.
144 stars 37 forks source link

Is TODO for all files in the work? #2

Closed thanhluan001 closed 11 years ago

thanhluan001 commented 11 years ago

I usually use TODO as a reminder of things to do. In many case, they are in multiple file. I would like to know if you intend to expand the plugin for multiple files or is it too hard to implement?

Thanks,

mikaeljorhult commented 11 years ago

I would like to add this and am looking into how it would be possible to implement in Brackets.

apintocr commented 11 years ago

This is a really nice feature.

thanhluan001 commented 11 years ago

I'd like to investigate this feature. Unfortunately, I'm a bit busy now. I'll let you know if I make any progress.

mikaeljorhult commented 11 years ago

I have done the basic functionality for project wide searches and will be publishing that branch during this week for testing. Hold one for a day or two and you'll have something to test.

mikaeljorhult commented 11 years ago

I've published a branch with support for this feature. It's still under development and not yet fully tested so there might be some issue left especially performance on larger projects but it do work.

Please note that project wide search is implemented as an option and not activated by default (at least for now due to potential problems with performance). Activate it by adding a .todo file in the project root of your project with the following content:

{
    "search": {
        "scope": "project"
    }
}
mikaeljorhult commented 11 years ago

This feature is now in the master branch. Still a bit work to do to make it more performant but it works.

mikaeljorhult commented 11 years ago

Have you had a chance to try the feature out @thanhluan001? Would be nice to hear if it works in your workflow and your projects.

zaggino commented 11 years ago

@mikaeljorhult How can I exclude directories and files from "scope": "project" ? I don't really want to see todo's for node_modules directory and other third-party code I have in project.

mikaeljorhult commented 11 years ago

Currently there's no way to exclude directories or files from the search. It's next on my list of features and I will start working on it later this week.

mikaeljorhult commented 11 years ago

Basic version of the feature is now in the extension. It will be extended and improved on but as separate issues.