vscode - reenable settings when "exclude settings and ignore files are disabled"

2019-08-06

 | 

~2 min read

 | 

217 words

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


Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!