You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
* When search scope is a single file, skip exclusion filter entirely
* If exclusions filter results in 0 files to search, show a message to that
effect and leave search bar open so user can adjust filter
* When editing a filter, show how many files are still included out of the
total number of files in the current search scope
Also cleans up FindInFiles to centralize the filtering code more, and
simplify _doSearchInOneFile() & its call sites.
Copy file name to clipboardExpand all lines: src/nls/root/strings.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,7 @@ define({
160
160
"FIND_IN_FILES_TITLE_PART3" : "— {0} {1} {2} in {3} {4}",
161
161
"FIND_IN_FILES_SCOPED" : "in <span class='dialog-filename'>{0}</span>",
162
162
"FIND_IN_FILES_NO_SCOPE" : "in project",
163
+
"FIND_IN_FILES_ZERO_FILES" : "Filter excludes all files {0}",
163
164
"FIND_IN_FILES_FILE" : "file",
164
165
"FIND_IN_FILES_FILES" : "files",
165
166
"FIND_IN_FILES_MATCH" : "match",
@@ -175,9 +176,12 @@ define({
175
176
"NO_FILE_FILTER" : "Exclude files\u2026",
176
177
"EDIT_FILE_FILTER" : "Edit\u2026",
177
178
"FILE_FILTER_DIALOG" : "Edit Filter",
178
-
"FILE_FILTER_INSTRUCTIONS" : "Exclude files and folders matching any of the following strings / substrings or <a href='{0}' title='{0}'>globs</a>. Enter each string on a new line.",
179
+
"FILE_FILTER_INSTRUCTIONS" : "Exclude files and folders matching any of the following strings / substrings or <a href='{0}' title='{0}'>wildcards</a>. Enter each string on a new line.",
179
180
"FILE_FILTER_LIST_PREFIX" : "except",
180
181
"FILE_FILTER_CLIPPED_SUFFIX" : "and {0} more",
182
+
"FILTER_COUNTING_FILES" : "Counting files\u2026",
183
+
"FILTER_FILE_COUNT" : "Allows {0} of {1} files {2}",
184
+
"FILTER_FILE_COUNT_ALL" : "Allows all {0} files {1}",
181
185
182
186
// Quick Edit
183
187
"ERROR_QUICK_EDIT_PROVIDER_NOT_FOUND" : "No Quick Edit provider found for current cursor position",
0 commit comments