tzachov / vscode-todo-list

VSCode Extension that lists all of your TODO-type comments in an easy-to-read tree view panel
https://marketplace.visualstudio.com/items?itemName=TzachOvadia.todo-list
19 stars 3 forks source link

Use .gitignore for excluding files, if present #36

Open DylanSp opened 4 years ago

DylanSp commented 4 years ago

It'd be handy to use .gitignore to exclude files from checks, instead of having to duplicate those exclusions in the exclude setting.

tzachov commented 4 years ago

I actually don't like the idea of using the same file for multiple purposes. Let me think about it.

DylanSp commented 4 years ago

It's not too uncommon for tools that manage source code to respect .gitignore; off the top of my head, ripgrep does it out of the box, ESLint can use it with --ignore-path .gitignore.