From 0cbb71b7ac0a92f327981e2582f879a9b4734ba7 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 15 Mar 2017 22:49:49 -0700 Subject: [PATCH] Enable gitignore support by default --- src/vs/workbench/services/search/node/ripgrepTextSearch.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vs/workbench/services/search/node/ripgrepTextSearch.ts b/src/vs/workbench/services/search/node/ripgrepTextSearch.ts index 3c98cd998c6..3b27295f39e 100644 --- a/src/vs/workbench/services/search/node/ripgrepTextSearch.ts +++ b/src/vs/workbench/services/search/node/ripgrepTextSearch.ts @@ -293,8 +293,7 @@ function globExprsToRgGlobs(patterns: glob.IExpression): { globArgs: string[], s } function getRgArgs(config: IRawSearch, rootFolder: string): { args: string[], siblingClauses: glob.SiblingClause[] } { - // -uu == Skip gitignore files, and hidden files/folders - const args = ['--heading', '-uu', '--line-number', '--color', 'ansi', '--colors', 'path:none', '--colors', 'line:none', '--colors', 'match:fg:red', '--colors', 'match:style:nobold']; + const args = ['--heading', '--line-number', '--color', 'ansi', '--colors', 'path:none', '--colors', 'line:none', '--colors', 'match:fg:red', '--colors', 'match:style:nobold']; args.push(config.contentPattern.isCaseSensitive ? '--case-sensitive' : '--ignore-case'); if (config.includePattern) { -- GitLab