Open AllanLRH opened 11 years ago
put it outside of todo
"todo":{something},
"binary_file_patterns":[anything]
I struggled with this today as well. Putting the binary_file_patterns in my sublime user preferences works, but if it's in my sublime-project file, it's ignored. Below is what's in my project file, which the same json works in the user settings:
"settings":
{
"tab_size": 2,
"translate_tabs_to_spaces": true,
"binary_file_patterns": ["dist/*", "node_modules/*", "app/js/bower/*"]
}
Just fyi, this project has been deprecated. https://github.com/jonathandelgado/SublimeTodoReview is the successor.
I see, so a plugin is required. Guess I'll stick my editing my preferences file. Thanks =)
@argyleink I think you misunderstood, this package has been deprecated. You can upgrade to the newer one I mentioned and your problem will be fixed. It's just a fork of this project.
I did, I also logged an issue on the wrong repo. My comments can be ignored.
I have a lot of binary files in my project directory. Excluding them the with the
file_exclude_patterns
works, but thebinary_file_patterns
does not.Here is my TODO-relevant project setup:
When examening the code for the plugin, I wonder if the settings for binary files is even loaded from anywhere but the global settings... theese lines seems to be responsible for loading the file exclusion patterns. The next-to-last of theese lines is the only place in the file where the word binary is present.