SublimeTodoReview icon indicating copy to clipboard operation
SublimeTodoReview copied to clipboard

Honor project settings

Open tigrr opened this issue 4 years ago • 2 comments

Would it be possible to honor settings for including and excluding files and directories in Sublime project file instead of redefining them for the plugin?

Unrelated. What about having links in the todo results page to the actual locations of TODOs in code, similar to Sublime search in files results page?

tigrr avatar May 01 '20 17:05 tigrr

You can do this simply by adding the "settings" key in your project accordingly. This is also mentioned in the readme in the "Config" section, by the way ;)

"settings": {
	"todoreview": {
		"exclude_folders": [
			"*.git*",
			"*node_modules*"
		]
	}
}

julian-weinert avatar Sep 07 '20 21:09 julian-weinert

Thank you @julian-weinert , I will certainly use this option.

My proposal is to honor the standard "folder_exclude_patterns" Sublime Text project setting. Otherwise we have to list the same folders twice: once for Sublime, once for TodoReview.

tigrr avatar Sep 08 '20 16:09 tigrr