Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/workbench/parts/search/common/queryBuilder.ts')
-rw-r--r--src/vs/workbench/parts/search/common/queryBuilder.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vs/workbench/parts/search/common/queryBuilder.ts b/src/vs/workbench/parts/search/common/queryBuilder.ts
index 525753bcae8..8d13bef82a3 100644
--- a/src/vs/workbench/parts/search/common/queryBuilder.ts
+++ b/src/vs/workbench/parts/search/common/queryBuilder.ts
@@ -73,6 +73,8 @@ export class QueryBuilder {
if (contentPattern) {
this.resolveSmartCaseToCaseSensitive(contentPattern);
+
+ contentPattern.wordSeparators = this.configurationService.getValue<ISearchConfiguration>().editor.wordSeparators;
}
const query: ISearchQuery = {
@@ -88,7 +90,7 @@ export class QueryBuilder {
maxResults: options.maxResults,
sortByScore: options.sortByScore,
cacheKey: options.cacheKey,
- contentPattern: contentPattern,
+ contentPattern,
useRipgrep,
disregardIgnoreFiles: options.disregardIgnoreFiles || !useIgnoreFiles,
disregardExcludeSettings: options.disregardExcludeSettings,