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
// Unless isfs spec already includes a filter (which it rarely does), apply includes and excludes at the server side.
110
+
if(!params.get("filter")){
111
+
// Unless isfs spec already includes a non-empty filter (which it rarely does), apply includes and excludes at the server side.
113
112
// If include or exclude field is set to, say, A1B2M*.int there will be two consecutive options.[in|ex]cludes elements:
114
113
// **/A1B2M*.int/**
115
114
// **/A1B2M*.int
116
115
//
117
116
// Ignore first, and strip **/ prefix from second.
118
117
// When 'Use Exclude Settings and Ignore Files' is enabled (which is typical) options.excludes will also contain entries from files.exclude and search.exclude settings.
119
-
// This will result in additional server-side filtering which is probably superfluous but harmless (other than perhaps incurring a performance cost, probably small).
118
+
// This will result in additional server-side filtering which is superfluous but harmless other than perhaps incurring a small(?) performance cost.
120
119
consttidyFilters=(filters: string[]): string[]=>{
121
120
returnfilters
122
121
.map((value,index,array)=>
@@ -128,12 +127,18 @@ export class TextSearchProvider implements vscode.TextSearchProvider {
0 commit comments