/* Code-Comments */

VSCode - Reenable Settings When "Exclude Settings And Ignore Files Are Disabled"

August 06, 2019

Filing this one under annoying bugs that shouldn’t be an issue but end up taking up way more of your time than you’d like.

VSCode offers the ability to filter out certain directories from being searched - which I find very handy. Unfortunately, recently, I started getting an alert that my setting had been disabled.

search with settings disabled Just underneath the “files to exclude” input is a results message indicating that my results included files I’ve set to ignore because I disabled the setting.

The problem was that I had no idea how I did that.

It turns out, I’d accidentally (de)selected the cog with the small minus sign and that’s what did it.

search with settings enabled Turning it back on (notice the blue outline around the cog) and my results are much closer to what I’d expect!

This is a known issue for the VSCode team and I was happy to find that I wasn’t alone in struggling to figure out the cause… 1 though where others spent 10 minutes, I suffered through it for days. 2

Ah well, now I know.

Footnotes


Stephen Weiss

Thanks for reading! My name's Stephen Weiss. I live in Chicago with my wife, Kate, and dog, Finn.
Click here to see the archives of my weeks in review and sign up yourself!