vscode: Can't search in workspace that includes folder using a FileSystemProvider
- VSCode Version: 1.44.0
- OS Version: Ubuntu 18.04.4 LTS
Steps to Reproduce:
- Open workspace with contains non default file system (file) but with provider defined in plugin
- Try and search
Does this issue occur when all extensions are disabled?: Yes
/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4376 No search provider registered for scheme: ccfs, waiting
(anonymous) @ /usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4376
searchWithProviders @ /usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4376
(anonymous) @ /usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4375
processTicksAndRejections @ internal/process/task_queues.js:85
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (8 by maintainers)
Commits related to this issue
- Don't wait on search providers for schemes other than vscode-remote Fix #94928 — committed to microsoft/vscode by roblourens 4 years ago
This is fixed in Insiders but not stable yet.
is that expected that users of my extension have to between choose to use file search or work with external file system?
because feature is in proposed stage but causes issues in stable release
PS. please note; v1.43.0 works fine
PPS:
means issue is not related to the extension. I’m correct?
Hi, I’m getting the following log after the 1.44.0 update whenever I CTRL+P (search hangs and does not show results):
disinstalling, reinstalling gitlens or disabling extensions was of no help.
Recreating the workspace fixed it.
let’s start from scratch. Extension don’t use search provider API (
TextSearchProvider
andFileSearchProvider
or any other from proposed). Extension useregisterFileSystemProvider
and registers schemeccfs
this was working well for last two years, but starting v1.44.0 users with the extension face issue with broken search with mentioned in subject error.I don’t need proposed API. I need search working again. At this point I can fix this only by drop off feature which relays on
FileSystemProvider
. Is there way to save feature?