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
Copy file name to clipboardExpand all lines: src/vs/vscode.proposed.d.ts
+42-16Lines changed: 42 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -153,23 +153,36 @@ declare module 'vscode' {
153
153
preview: TextSearchResultPreview;
154
154
}
155
155
156
+
/**
157
+
* A FileIndexProvider provides a list of files in the given folder. VS Code will filter that list for searching with quickopen or from other extensions.
158
+
*
159
+
* A FileIndexProvider is the simpler of two ways to implement file search in VS Code. Use a FileIndexProvider if you are able to provide a listing of all files
160
+
* in a folder, and want VS Code to filter them according to the user's search query.
161
+
*
162
+
* The FileIndexProvider will be invoked once when quickopen is opened, and VS Code will filter the returned list. It will also be invoked when
163
+
* `workspace.findFiles` is called.
164
+
*
165
+
* If a [`FileSearchProvider`](#FileSearchProvider) is registered for the scheme, that provider will be used instead.
* A FileSearchProvider provides search results for files or text in files. It can be invoked by quickopen and other extensions.
177
+
* A FileSearchProvider provides search results for files in the given folder that match a query string. It can be invoked by quickopen or other extensions.
178
+
*
179
+
* A FileSearchProvider is the more powerful of two ways to implement file search in VS Code. Use a FileSearchProvider if you wish to search within a folder for
180
+
* all files that match the user's query.
181
+
*
182
+
* The FileSearchProvider will be invoked on every keypress in quickopen. When `workspace.findFiles` is called, it will be invoked with an empty query string,
183
+
* and in that case, every file in the folder should be returned.
0 commit comments