How do I make Sublime Text 3 to respect the .gitignore
settings when we do a Find Files in Folders
ctrl+p or Find
ctrl+f? The expected output is no files in .gitignore
gets listed in either of the command's output.
I checked this answer Tell Sublime Text to ignore everything in .gitignore? but it doesn't seem to work as expected when I checked the output of ctrl+p. I am not sure if I am missing something.
Is there a way to achieve this? Any hacks are welcome too. For example, I read about file_exclude_patterns
and folder_exclude_patterns
settings. Is there any example of how to use that?