1

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?

Nishant
  • 20,354
  • 18
  • 69
  • 101

1 Answers1

1

I found that the plugin mentioned in this answer worked for me: https://stackoverflow.com/a/25565420/375262

Don't forget the final crucial step of File, Exclude Git-Ignored after installation.

Thomas David Baker
  • 1,037
  • 10
  • 24