search.ts ×8

Frontier kind: Code frontier

unlabeled · c_3e54ba578079

15 tests · 12282 LOC · 45 files · introduces 0 tests · 104 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges104 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1359 ranges12282 lines · 45 files · Browse complete extent
All tests (intent)
15 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationextractRange.test|title=extractRangeFromFilter basics|occurrence=1 · 0 introduced LOCextractRange.test|title=…file.txt:19:20 - ["@"]|occurrence=1, file.txt (19,20) - ["@"]|occurrence=1 · 0 introduced LOCfile.txt:19:20 - ["@"]|o…file.txt:20:3-40|occurrence=1, file.txt#20#3-40,5|occurrence=1, +2 · 0 introduced LOCfile.txt:20:3-40|occurre…file.txt#19 - ["@"]|occurrence=1 · 0 introduced LOCfile.txt#19 - ["@"]|occu…search.ts ×1 · 7 introduced LOCsearch.ts ×1search.ts ×1 · 10 introduced LOCsearch.ts ×1search.ts ×5 · 25 introduced LOCsearch.ts ×5search.ts ×1 · 3 introduced LOCsearch.ts ×1file.txt (19,20) - ["@"]|occurrence=1, file.txt (19,20)@ - ["@"]|occurrence=1, +1 · 0 introduced LOCfile.txt (19,20) - ["@"]…search.ts ×2 · 8 introduced LOCsearch.ts ×2search.ts ×1 · 2 introduced LOCsearch.ts ×1search.ts ×1 · 2 introduced LOCsearch.ts ×1editorService.ts ×2 · 396 introduced LOCeditorService.ts ×2editorGroupsService.ts ×4 · 1075 introduced LOCeditorGroupsService.ts ×…contextkey.ts ×1 · 2 introduced LOCcontextkey.ts ×1contextkey.ts ×3 · 7 introduced LOCcontextkey.ts ×3contextkey.ts ×1 · 3 introduced LOCcontextkey.ts ×1contextkey.ts ×1 · 2 introduced LOCcontextkey.ts ×1contextkey.ts ×1 · 3 introduced LOCcontextkey.ts ×1contextkey.ts ×1 · 2 introduced LOCcontextkey.ts ×1contextkey.ts ×2 · 3 introduced LOCcontextkey.ts ×2contextkey.ts ×1 · 2 introduced LOCcontextkey.ts ×1contextkey.ts ×2 · 3 introduced LOCcontextkey.ts ×2contextkey.ts ×2 · 3 introduced LOCcontextkey.ts ×2contextkey.ts ×1 · 2 introduced LOCcontextkey.ts ×1contextkey.ts ×1 · 4 introduced LOCcontextkey.ts ×1contextkey.ts ×201 · 796 introduced LOCcontextkey.ts ×201editor.ts ×36 · 1397 introduced LOCeditor.ts ×36workspace.ts ×27 · 322 introduced LOCworkspace.ts ×27files.ts ×1 · 4 introduced LOCfiles.ts ×1files.ts ×1 · 4 introduced LOCfiles.ts ×1files.ts ×1 · 4 introduced LOCfiles.ts ×1files.ts ×41 · 1348 introduced LOCfiles.ts ×41ternarySearchTree.ts ×60 · 193 introduced LOCternarySearchTree.ts ×60actions.ts ×25 · 151 introduced LOCactions.ts ×25resources.ts ×23 · 253 introduced LOCresources.ts ×23severity.ts ×3 · 32 introduced LOCseverity.ts ×3network.ts ×20 · 292 introduced LOCnetwork.ts ×20strings.test|title=Strings trimWhitespace|occurrence=1 · 0 introduced LOCstrings.test|title=Strin…extpath.ts ×17 · 91 introduced LOCextpath.ts ×17strings.ts ×101 · 542 introduced LOCstrings.ts ×101cancellation.test|title=CancellationToken None|occurrence=1 · 0 introduced LOCcancellation.test|title=…cancellation.ts ×18 · 90 introduced LOCcancellation.ts ×18event.ts ×93 · 864 introduced LOCevent.ts ×93range.ts ×40 · 247 introduced LOCrange.ts ×40scanner.ts ×13 · 13 introduced LOCscanner.ts ×13scanner.ts ×3 · 3 introduced LOCscanner.ts ×3scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×1 · 1 introduced LOCscanner.ts ×1scanner.ts ×36 · 181 introduced LOCscanner.ts ×36position.ts ×16 · 113 introduced LOCposition.ts ×16platform.ts ×1 · 6 introduced LOCplatform.ts ×1types.test|title=Types isString|occurrence=1 · 0 introduced LOCtypes.test|title=Types i…uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 · 0 introduced LOCuri.test|title=URI URI#f…utils.ts ×3 · 9 introduced LOCutils.ts ×3nls.ts ×1 · 1 introduced LOCnls.ts ×1errorMessage.ts ×6 · 29 introduced LOCerrorMessage.ts ×6linkedList.ts ×13 · 44 introduced LOClinkedList.ts ×13nls.ts ×6 · 13 introduced LOCnls.ts ×6instantiation.ts ×5 · 111 introduced LOCinstantiation.ts ×5platform.ts ×5 · 46 introduced LOCplatform.ts ×5types.ts ×1 · 2 introduced LOCtypes.ts ×1lifecycle.ts ×2 · 4 introduced LOClifecycle.ts ×2types.ts ×1 · 2 introduced LOCtypes.ts ×1assert.ts ×2 · 2 introduced LOCassert.ts ×2types.ts ×2 · 5 introduced LOCtypes.ts ×2lifecycle.ts ×1 · 2 introduced LOClifecycle.ts ×1types.ts ×1 · 2 introduced LOCtypes.ts ×1lifecycle.ts ×4 · 8 introduced LOClifecycle.ts ×4lifecycle.ts ×6 · 16 introduced LOClifecycle.ts ×6lazy.ts ×1 · 2 introduced LOClazy.ts ×1lazy.ts ×3 · 37 introduced LOClazy.ts ×3lifecycle.ts ×1 · 2 introduced LOClifecycle.ts ×1lifecycle.ts ×1 · 2 introduced LOClifecycle.ts ×1uint.ts ×2 · 43 introduced LOCuint.ts ×2lifecycle.ts ×1 · 3 introduced LOClifecycle.ts ×1map.ts ×97 · 3334 introduced LOCmap.ts ×97src/vs/base/common/actions.ts · 294 LOCcommon/actions.tssrc/vs/base/common/arrays.ts · 949 LOCcommon/arrays.tssrc/vs/base/common/arraysFind.ts · 226 LOCcommon/arraysFind.tssrc/vs/base/common/assert.ts · 91 LOCcommon/assert.tssrc/vs/base/common/cache.ts · 153 LOCcommon/cache.tssrc/vs/base/common/cancellation.ts · 206 LOCcommon/cancellation.tssrc/vs/base/common/charCode.ts · 450 LOCcommon/charCode.tssrc/vs/base/common/collections.ts · 176 LOCcommon/collections.tssrc/vs/base/common/errorMessage.ts · 113 LOCcommon/errorMessage.tssrc/vs/base/common/errors.ts · 357 LOCcommon/errors.tssrc/vs/base/common/event.ts · 1964 LOCcommon/event.tssrc/vs/base/common/extpath.ts · 433 LOCcommon/extpath.tssrc/vs/base/common/functional.ts · 32 LOCcommon/functional.tssrc/vs/base/common/iterator.ts · 194 LOCcommon/iterator.tssrc/vs/base/common/lazy.ts · 57 LOCcommon/lazy.tssrc/vs/base/common/lifecycle.ts · 974 LOCcommon/lifecycle.tssrc/vs/base/common/linkedList.ts · 151 LOCcommon/linkedList.tssrc/vs/base/common/map.ts · 1016 LOCcommon/map.tssrc/vs/base/common/marshallingIds.ts · 33 LOCcommon/marshallingIds.tssrc/vs/base/common/network.ts · 440 LOCcommon/network.tssrc/vs/base/common/path.ts · 1589 LOCcommon/path.tssrc/vs/base/common/platform.ts · 281 LOCcommon/platform.tssrc/vs/base/common/process.ts · 76 LOCcommon/process.tssrc/vs/base/common/resources.ts · 444 LOCcommon/resources.tssrc/vs/base/common/severity.ts · 56 LOCcommon/severity.tssrc/vs/base/common/stopwatch.ts · 41 LOCcommon/stopwatch.tssrc/vs/base/common/strings.ts · 1413 LOCcommon/strings.tssrc/vs/base/common/ternarySearchTree.ts · 796 LOCcommon/ternarySearchTree…src/vs/base/common/types.ts · 410 LOCcommon/types.tssrc/vs/base/common/uint.ts · 59 LOCcommon/uint.tssrc/vs/base/common/uri.ts · 754 LOCcommon/uri.tssrc/vs/base/test/common/utils.ts · 107 LOCcommon/utils.tssrc/vs/editor/common/core/position.ts · 184 LOCcore/position.tssrc/vs/editor/common/core/range.ts · 520 LOCcore/range.tssrc/vs/nls.ts · 244 LOCvs/nls.tssrc/vs/platform/contextkey/common/contextkey.ts · 2183 LOCcommon/contextkey.tssrc/vs/platform/contextkey/common/scanner.ts · 384 LOCcommon/scanner.tssrc/vs/platform/files/common/files.ts · 1658 LOCcommon/files.tssrc/vs/platform/instantiation/common/instantiation.ts · 130 LOCcommon/instantiation.tssrc/vs/platform/registry/common/platform.ts · 63 LOCcommon/platform.tssrc/vs/platform/workspace/common/workspace.ts · 493 LOCcommon/workspace.tssrc/vs/workbench/common/editor.ts · 1765 LOCcommon/editor.tssrc/vs/workbench/contrib/search/common/search.ts · 253 LOCcommon/search.tssrc/vs/workbench/services/editor/common/editorGroupsService.ts · 1091 LOCcommon/editorGroupsServi…src/vs/workbench/services/editor/common/editorService.ts · 400 LOCcommon/editorService.tscancellation.test|title=CancellationToken None|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/cancellation.test|title=CancellationToken None|occurrence=1cancellation.test|title=…charCode.test|title=CharCode has good values|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1charCode.test|title=Char…path.test|title=Paths (Node Implementation) path|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1path.test|title=Paths (N…strings.test|title=Strings trimWhitespace|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/strings.test|title=Strings trimWhitespace|occurrence=1strings.test|title=Strin…types.test|title=Types isString|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/types.test|title=Types isString|occurrence=1types.test|title=Types i…uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1uri.test|title=URI File …uri.test|title=URI URI#file, win-speciale|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1uri.test|title=URI URI#f…extractRange.test|title=extractRangeFromFilter allow space after path|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter allow space after path|occurrence=1extractRange.test|title=…extractRange.test|title=extractRangeFromFilter basics|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter basics|occurrence=1extractRange.test|title=…file.txt#20#3-40,5|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt#20#3-40,5|occurrence=1file.txt#20#3-40,5|occur…file.txt(20,3-40,5)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt(20,3-40,5)|occurrence=1file.txt(20,3-40,5)|occu…file.txt:20-40|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt:20-40|occurrence=1file.txt:20-40|occurrenc…file.txt:20-|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt:20-|occurrence=1file.txt:20-|occurrence=…file.txt:20:3-40:5|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt:20:3-40:5|occurrence=1file.txt:20:3-40:5|occur…file.txt:20:3-40|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges /some/path/file.txt:20:3-40|occurrence=1file.txt:20:3-40|occurre…extractRange.test|title=extractRangeFromFilter ranges hyphen in path is not treated as a range|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter ranges hyphen in path is not treated as a range|occurrence=1extractRange.test|title=…file.txt (19,20) - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless /some/@path/file.txt (19,20) - ["@"]|occurrence=1file.txt (19,20) - ["@"]…file.txt#19 - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless /some/@path/file.txt#19 - ["@"]|occurrence=1file.txt#19 - ["@"]|occu…file.txt:19:20 - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless /some/@path/file.txt:19:20 - ["@"]|occurrence=1file.txt:19:20 - ["@"]|o…file.txt (19,20)@ - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless /some/path/file.txt (19,20)@ - ["@"]|occurrence=1file.txt (19,20)@ - ["@"…file.txt@alphasymbol - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless /some/path/file.txt@alphasymbol - ["@"]|occurrence=1file.txt@alphasymbol - […file.txt (19,20) - ["@"]|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/search/test/common/extractRange.test|title=extractRangeFromFilter unless @/some/path/file.txt (19,20) - ["@"]|occurrence=1file.txt (19,20) - ["@"]…Focused concept · search.ts ×8 · 104 introduced LOCsearch.ts ×8

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 104 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/workbench/contrib/search/common/search.ts 104 introduced LOC · 8 ranges

Open complete file

1 > /*--------------------------------------------------------------------------------------------- search.ts
2 > * Copyright (c) Microsoft Corporation. All rights reserved.
3 > * Licensed under the MIT License. See License.txt in the project root for license information.
4 > *--------------------------------------------------------------------------------------------*/
5 >
6 > import { onUnexpectedExternalError } from '../../../../base/common/errors.js';
7 > import { IDisposable } from '../../../../base/common/lifecycle.js';
8 > import { ISearchConfiguration, ISearchConfigurationProperties } from '../../../services/search/common/search.js';
9 > import { SymbolKind, Location, ProviderResult, SymbolTag } from '../../../../editor/common/languages.js';
10 > import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js';
11 > import { URI } from '../../../../base/common/uri.js';
12 > import { EditorResourceAccessor, SideBySideEditor } from '../../../common/editor.js';
13 > import { IEditorService } from '../../../services/editor/common/editorService.js';
14 > import { CancellationToken } from '../../../../base/common/cancellation.js';
15 > import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js';
16 > import { IFileService } from '../../../../platform/files/common/files.js';
17 > import { IRange, Range } from '../../../../editor/common/core/range.js';
18 > import { isNumber } from '../../../../base/common/types.js';
19 > import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
20 > import { compare } from '../../../../base/common/strings.js';
21 > import { groupBy } from '../../../../base/common/arrays.js';
22 > import * as nls from '../../../../nls.js';
23 > import type { IConfigurationNode } from '../../../../platform/configuration/common/configurationRegistry.js';
24 >
25 > export interface IWorkspaceSymbol {
26 > name: string;
27 > containerName?: string;
28 > kind: SymbolKind;
29 > tags?: SymbolTag[];
30 > location: Location;
31 > }
32 >
33 > export interface IWorkspaceSymbolProvider {
34 > provideWorkspaceSymbols(search: string, token: CancellationToken): ProviderResult<IWorkspaceSymbol[]>;
35 > resolveWorkspaceSymbol?(item: IWorkspaceSymbol, token: CancellationToken): ProviderResult<IWorkspaceSymbol>;
36 > }
37 >
38 > export namespace WorkspaceSymbolProviderRegistry {
39 >
40 > const _supports: IWorkspaceSymbolProvider[] = [];
41 >
42 > export function register(provider: IWorkspaceSymbolProvider): IDisposable {
43 let support: IWorkspaceSymbolProvider | undefined = provider;
44 if (support) {
58 };
59 }
60 > search.ts
61 > export function all(): IWorkspaceSymbolProvider[] {
62 return _supports.slice(0);
63 }
64 > } search.ts
65 >
66 > export class WorkspaceSymbolItem {
67 > constructor(readonly symbol: IWorkspaceSymbol, readonly provider: IWorkspaceSymbolProvider) { }
68 > }
69 >
70 export async function getWorkspaceSymbols(query: string, token: CancellationToken = CancellationToken.None): Promise<WorkspaceSymbolItem[]> {
71
121 return groupBy(all, compareItems).map(group => group[0]).flat();
122 }
123 > search.ts
124 > export interface IWorkbenchSearchConfigurationProperties extends ISearchConfigurationProperties {
125 > quickOpen?: {
126 > includeSymbols?: boolean;
127 > includeHistory?: boolean;
128 > history?: {
129 > filterSortOrder?: 'default' | 'recency';
130 > };
131 > };
132 > }
133 >
134 > export interface IWorkbenchSearchConfiguration extends ISearchConfiguration {
135 > search: IWorkbenchSearchConfigurationProperties;
136 > }
137 >
138 > /**
139 > * Helper to return all opened editors with resources not belonging to the currently opened workspace.
140 > */
141 > export function getOutOfWorkspaceEditorResources(accessor: ServicesAccessor): URI[] {
142 const editorService = accessor.get(IEditorService);
143 const contextService = accessor.get(IWorkspaceContextService);
150 return resources as URI[];
151 }
152 > search.ts
153 > // Supports patterns of <path><#|:|(><line><#|:|,><col?>> optionally followed by a range suffix <-<endLine><#|:|,><endCol?>>
154 > const LINE_COLON_PATTERN = /\s?[#:\(](?:line )?(\d*)(?:[#:,](\d*))?(?:-(\d*)(?:[#:,](\d*))?)?\)?:?\s*$/;
155 >
156 > export interface IFilterAndRange {
157 > filter: string;
158 > range: IRange;
159 > }
160 >
161 > export function extractRangeFromFilter(filter: string, unless?: string[]): IFilterAndRange | undefined {
162 > // Ignore when the unless character not the first character or is before the line colon pattern
163 > if (!filter || unless?.some(value => {
164 const unlessCharPos = filter.indexOf(value);
165 return unlessCharPos === 0 || unlessCharPos > 0 && !LINE_COLON_PATTERN.test(filter.substring(unlessCharPos + 1));
166 > })) { search.ts
167 return undefined;
168 }
222 }
223
224 > if (patternMatch && range) { search.ts
225 return {
226 filter: filter.substr(0, patternMatch.index), // clear range suffix from search value
231 return undefined;
232 }
233 > search.ts
234 > export enum SearchUIState {
235 > Idle,
236 > Searching,
237 > SlowSearch
238 > }
239 >
240 > export const SearchStateKey = new RawContextKey<SearchUIState>('searchState', SearchUIState.Idle);
241 >
242 > export interface NotebookPriorityInfo {
243 > isFromSettings: boolean;
244 > filenamePatterns: string[];
245 > }
246 >
247 > export const searchConfigurationNode: IConfigurationNode = {
248 > id: 'search',
249 > order: 13,
250 > title: nls.localize('searchConfigurationTitle', "Search"),
251 > type: 'object',
252 > properties: {}
253 > };