vscode: Global Search "is not correctly configured as a child of its"
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.72.2
- OS Version: Windows 10 Pro 21H2
Steps to Reproduce:
- Open a remote folder on the same network
- Try global search
This was working for me previously, however, for some reason I have lost the ability to global search. I see below errors in the Log(Window).
The open folder is: file://ha/config
When I perform a search, I get these errors of " file … is not correctly configured as a child of its"
When I check the path of these files, I see that the search term I set are found on those files but for some reason vscode outputs an error.
I tried a clean install but it didn’t help.
exclude settings and ignore files does not make any difference.
The only workaround I found was to duplicate workspace option or saving the session as workspace
[2022-10-26 03:34:24.333] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:34:31.678] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:34:40.215] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:34:50.130] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:34:50.131] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchCompleted (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:22407)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:22080
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Log (Window) Trace:
[2022-10-26 03:40:51.060] [renderer1] [trace] KeybindingService#dispatch Enter undefined
[2022-10-26 03:40:51.070] [renderer1] [trace] SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"\\\\HA\\config","_sep":1,"external":"file://ha/config","path":"/config","scheme":"file","authority":"HA"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/Thumbs.db":true,"**/node_modules":true,"**/bower_components":true,"**/*.code-search":true},"fileEncoding":"utf8","disregardIgnoreFiles":false,"disregardGlobalIgnoreFiles":false,"disregardParentIgnoreFiles":true,"ignoreSymlinks":true}],"usingSearchPaths":false,"onlyOpenEditors":false,"maxResults":20000,"type":2,"contentPattern":{"pattern":"is_volume_muted","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}
[2022-10-26 03:40:52.476] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:40:54.645] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:41:11.747] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:41:20.068] [renderer1] [trace] SearchService#search: 28994ms
[2022-10-26 03:41:20.072] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-26 03:41:20.072] [renderer1] [error] file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config: Error: file://ha/config/.storage/core.restore_state is not correctly configured as a child of its file://ha/config
at M.createAndConfigureFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchCompleted (vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:22407)
at vscode-file://vscode-app/c:/Users/laxar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:22080
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Log (Host Extension) Trace
[2022-10-26 03:40:51.076] [exthost] [debug] RipgrepSearchEH#search provideTextSearchResults is_volume_muted, {"folder":"file://ha/config","excludes":["**/.git","**/.svn","**/.hg","**/CVS","**/.DS_Store","**/Thumbs.db","**/node_modules","**/bower_components","**/*.code-search"],"includes":[],"useIgnoreFiles":true,"useGlobalIgnoreFiles":true,"useParentIgnoreFiles":false,"followSymlinks":false,"encoding":"utf8","maxResults":20000,"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}
[2022-10-26 03:40:51.076] [exthost] [debug] RipgrepSearchEH#search c:\Users\laxar\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar.unpacked\@vscode\ripgrep\bin\rg.exe --hidden --ignore-case -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/Thumbs.db' -g '!**/node_modules' -g '!**/bower_components' -g '!**/*.code-search' --no-ignore-parent --crlf --fixed-strings --no-config --json -- 'is_volume_muted' '.'
- cwd: \\HA\config
[2022-10-26 03:40:51.522] [exthost] [debug] RipgrepSearchEH#search .\addons_config\qBittorrent\ipc-socket:
[2022-10-26 03:40:51.522] [exthost] [debug] RipgrepSearchEH#search Erişim engellendi. (os error 5)
[2022-10-26 03:41:20.033] [exthost] [debug] RipgrepSearchEH#search Got data from stdout
[2022-10-26 03:41:20.033] [exthost] [debug] RipgrepSearchEH#search Got result from parser
[2022-10-26 03:41:20.033] [exthost] [debug] RipgrepSearchEH#search
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 28 (9 by maintainers)
Commits related to this issue
- add tracelogs for search tree building #164664 — committed to microsoft/vscode by andreamah a year ago
- add tracelogs for search tree building (#171005) add tracelogs for search tree building #164664 — committed to microsoft/vscode by andreamah a year ago
I’ve updated to the latest version of VS Code and haven’t seen the issue since @alexr00, definitely resolved for me
Thanks for the logs @oscarhermoso @Salvora 😊 it should be fixed in tomorrow’s Insiders version!
Correct @andreamah, actual path is
/home/oscarhermoso/Git/frontend/src/lib/api.ts
, but console logs are printed with a double slash