Wednesday, April 20, 2022

VSCode search exclude using multiple regex

 To exclude the files when doing a search in VSCode, one can specify multiple regular expressions in a string like this.


vendor/**,**/*_test.go


The above will exclude all the files under vendor folder and all the files whose name ends with _test.go

No comments:

Post a Comment