Closed Salvora closed 1 year ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.72.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
VS Code Version is 1.72.2, missed the last two digits.
I tried everything that I can think of (clean install with default settings, etc), but I cannot find what is wrong with it. I am not sure what is this error "is not correctly configured as a child of its". It seems like a trust issue for the folder but I granted access to the folder. It is not in restricted mode and there is no other option I can think of.
Also encountering this issue on:
Version: 1.72.2 Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:16:26.920Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.18.10-76051810-generic Sandboxed: No
ERR file:///home/oscarhermoso/Git/frontend//src/lib/api.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/frontend:
Error: file:///home/oscarhermoso/Git/frontend//src/lib/api.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/frontend
at M.createAndConfigureFileMatch (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558)
at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067
at Array.forEach (<anonymous>)
at M.addFileMatch (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830)
at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698
at u.forEach (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332)
at F.add (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630)
at V.onSearchProgress (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
Edit: Rolling back to a previous version of VS Code appears to have resolved the issue, possibly related to this fetaure? https://code.visualstudio.com/updates/v1_72#_results-displayed-as-a-tree-view
Same on macOS
Version: 1.72.2 Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:16:30.254Z (2 wks ago) Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin x64 21.6.0 Sandboxed: No
I was also thinking about something from those recent changes (https://github.com/microsoft/vscode/commits?author=andreamah&since=2022-09-30&until=2022-10-28) because this is a recent issue, but I don't understand why it doesn't seem to affect everyone (like other teammates using the same workspaces).
@oscarhermoso is there an easy way to rollback to a previous version of VSCode?
Also encountering this issue on:
Version: 1.72.2 Commit: d045a5e Date: 2022-10-12T22:16:26.920Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.18.10-76051810-generic Sandboxed: No
ERR file:///home/oscarhermoso/Git/frontend//src/lib/api.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/frontend: Error: file:///home/oscarhermoso/Git/frontend//src/lib/api.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/frontend at M.createAndConfigureFileMatch (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:12558) at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:9067 at Array.forEach (<anonymous>) at M.addFileMatch (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:8830) at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17698 at u.forEach (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:84:82332) at F.add (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:17630) at V.onSearchProgress (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2135:23295)
Edit: Rolling back to a previous version of VS Code appears to have resolved the issue, possibly related to this fetaure? https://code.visualstudio.com/updates/v1_72#_results-displayed-as-a-tree-view
Is the path to one of your files really /home/oscarhermoso/Git/frontend//src/lib/api.ts
? Or should it be /home/oscarhermoso/Git/frontend/src/lib/api.ts
(without the double slash before src). Just checking if the code somehow parses the path wrong.
Correct @andreamah, actual path is /home/oscarhermoso/Git/frontend/src/lib/api.ts
, but console logs are printed with a double slash
@oscarhermoso is there an easy way to rollback to a previous version of VSCode?
Your can follow the instructions on this stack overflow post https://github.com/microsoft/vscode/issues/164664#issuecomment-1294951535
Hi @Salvora @oscarhermoso @JeanPerriault ! I added some extra logging on the Insiders build of vscode. Can you please do the following?
Developer... Set Log Level
command from the command palette inside of Insiders.All
, then Trace
.It'd help me out a lot with fixing this since I'm unable to reproduce the issue from my side.
Sure thing @andreamah, will download it now. Appreciate the help
@andreamah Hope this is useful :slightly_smiling_face:
Version: 1.74.0-insider Commit: e764c5b816a99eb8673b2fc4fc028827f202872f Date: 2022-11-04T05:19:14.702Z Electron: 19.1.3 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.18.10-76051810-generic Sandboxed: Yes
TRACE [text file model] resolve() - enter file:///home/oscarhermoso/Git/kedyou-frontend/src/lib/api.server.ts
workbench.desktop.main.js:611 TRACE [text file model] resolveFromFile() file:///home/oscarhermoso/Git/kedyou-frontend/src/lib/api.server.ts
workbench.desktop.main.js:611 TRACE KeybindingService#dispatch Enter undefined
workbench.desktop.main.js:611 TRACE SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"/home/oscarhermoso/Git/kedyou-frontend","external":"file:///home/oscarhermoso/Git/kedyou-frontend","path":"/home/oscarhermoso/Git/kedyou-frontend","scheme":"file"},"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":true,"disregardParentIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"onlyOpenEditors":false,"maxResults":20000,"type":2,"contentPattern":{"pattern":"Accept","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}
workbench.desktop.main.js:611 TRACE SearchService#search: 12ms
workbench.desktop.main.js:611 TRACE [search model building]
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend/src comparing with file:///home/oscarhermoso/Git/kedyou-frontend/src/lib
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend comparing with file:///home/oscarhermoso/Git/kedyou-frontend/src
workbench.desktop.main.js:611 TRACE [search model building]
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend//src comparing with file:///home/oscarhermoso/Git/kedyou-frontend//src/lib
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend/ comparing with file:///home/oscarhermoso/Git/kedyou-frontend//src
current uri parent file:///home/oscarhermoso/Git comparing with file:///home/oscarhermoso/Git/kedyou-frontend/
current uri parent file:///home/oscarhermoso comparing with file:///home/oscarhermoso/Git
current uri parent file:///home comparing with file:///home/oscarhermoso
current uri parent file:/// comparing with file:///home
current uri parent file:/// comparing with file:///
workbench.desktop.main.js:611 ERR file:///home/oscarhermoso/Git/kedyou-frontend//src/lib/api.server.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/kedyou-frontend: Error: file:///home/oscarhermoso/Git/kedyou-frontend//src/lib/api.server.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/kedyou-frontend
at N.createAndConfigureFileMatch (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2113:5)
at vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9283
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9035)
at vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5173
at C.forEach (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:19:37172)
at W.add (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5102)
at U.onSearchCompleted (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9944)
at vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9613
17workbench.desktop.main.js:611 TRACE [search model building]
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend//src comparing with file:///home/oscarhermoso/Git/kedyou-frontend//src/lib
current uri parent file:///home/oscarhermoso/Git/kedyou-frontend/ comparing with file:///home/oscarhermoso/Git/kedyou-frontend//src
current uri parent file:///home/oscarhermoso/Git comparing with file:///home/oscarhermoso/Git/kedyou-frontend/
current uri parent file:///home/oscarhermoso comparing with file:///home/oscarhermoso/Git
current uri parent file:///home comparing with file:///home/oscarhermoso
current uri parent file:/// comparing with file:///home
current uri parent file:/// comparing with file:///
workbench.desktop.main.js:611 ERR file:///home/oscarhermoso/Git/kedyou-frontend//src/lib/api.server.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/kedyou-frontend: Error: file:///home/oscarhermoso/Git/kedyou-frontend//src/lib/api.server.ts is not correctly configured as a child of its file:///home/oscarhermoso/Git/kedyou-frontend
at N.createAndConfigureFileMatch (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2113:5)
at vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9283
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9035)
at vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5173
at C.forEach (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:19:37172)
at W.add (vscode-file://vscode-app/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5102)
Log output for the insider built: 1.74.0
2022-11-05 22:10:29.739 [info] Electron sandbox mode is enabled!
2022-11-05 22:10:29.756 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'visualstudioexptteam.vscodeintellicode-completions' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:29.767 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:29.767 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot-nightly' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:33.037 [info] [perf] Render performance baseline is 26ms
2022-11-05 22:10:47.941 [info] Electron sandbox mode is enabled!
2022-11-05 22:10:47.988 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'visualstudioexptteam.vscodeintellicode-completions' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:47.988 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:47.988 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot-nightly' wants API proposal 'inlineCompletionsNew' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2022-11-05 22:10:50.935 [info] [perf] Render performance baseline is 30ms
2022-11-05 22:11:24.847 [trace] KeybindingService#dispatch Ctrl+Shift+P workbench.action.showCommands
2022-11-05 22:11:24.847 [trace] CommandService#executeCommand workbench.action.showCommands
2022-11-05 22:11:27.101 [trace] CommandService#executeCommand workbench.action.setLogLevel
2022-11-05 22:11:37.735 [trace] CommandService#executeCommand workbench.actions.view.toggleProblems
2022-11-05 22:11:39.859 [trace] Started polling file:///c%3A/Users/laxar/AppData/Roaming/Code%20-%20Insiders/logs/20221105T221028/window1/output_20221105T221048/tasks.log
2022-11-05 22:11:48.068 [trace] CommandService#executeCommand workbench.action.output.show.rendererLog
2022-11-05 22:11:48.074 [trace] Stopped polling file:///c%3A/Users/laxar/AppData/Roaming/Code%20-%20Insiders/logs/20221105T221028/window1/output_20221105T221048/tasks.log
2022-11-05 22:11:48.086 [trace] Started polling file:///c%3A/Users/laxar/AppData/Roaming/Code%20-%20Insiders/logs/20221105T221028/window1/renderer.log
2022-11-05 22:11:52.784 [trace] KeybindingService#dispatch Ctrl+Shift+F workbench.action.findInFiles
2022-11-05 22:11:52.784 [trace] CommandService#executeCommand workbench.action.findInFiles
2022-11-05 22:11:54.287 [trace] KeybindingService#dispatch M undefined
2022-11-05 22:11:54.392 [trace] KeybindingService#dispatch D undefined
2022-11-05 22:11:54.525 [trace] KeybindingService#dispatch I undefined
2022-11-05 22:11:54.845 [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":true,"disregardGlobalIgnoreFiles":false,"disregardParentIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"onlyOpenEditors":false,"maxResults":20000,"type":2,"contentPattern":{"pattern":"mdi","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}
2022-11-05 22:11:55.003 [trace] KeybindingService#dispatch Shift+. undefined
2022-11-05 22:11:55.164 [trace] KeybindingService#dispatch Space undefined
2022-11-05 22:11:55.365 [trace] KeybindingService#dispatch H undefined
2022-11-05 22:11:55.475 [trace] KeybindingService#dispatch O undefined
2022-11-05 22:11:55.512 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.513 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.513 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.513 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.514 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.514 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.515 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.515 [error] file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config: Error: file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config
at N.createAndConfigureFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2113:5)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9283
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9035)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5173
at C.forEach (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:19:37172)
at W.add (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5102)
at U.onSearchProgress (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:10850)
2022-11-05 22:11:55.516 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.516 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.517 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.517 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.517 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.518 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.518 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.519 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.519 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.519 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.643 [trace] KeybindingService#dispatch M undefined
2022-11-05 22:11:55.738 [trace] KeybindingService#dispatch E undefined
2022-11-05 22:11:55.927 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.928 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.996 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.997 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:55.998 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:56.091 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:11:56.095 [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":true,"disregardGlobalIgnoreFiles":false,"disregardParentIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"onlyOpenEditors":false,"maxResults":20000,"type":2,"contentPattern":{"pattern":"mdi: home","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}
2022-11-05 22:11:56.095 [error] file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config: Error: file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config
at N.createAndConfigureFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2113:5)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9283
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9035)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5173
at C.forEach (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:19:37172)
at W.add (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5102)
at U.onSearchCompleted (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9944)
at U.onSearchError (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:10582)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9658
2022-11-05 22:11:56.165 [trace] SearchService#search: 1316ms
2022-11-05 22:12:23.653 [trace] SearchService#search: 27532ms
2022-11-05 22:12:23.654 [trace] [search model building]
current uri parent file://ha/config/appdaemon comparing with file://ha/config/appdaemon/apps
current uri parent file://ha/config/ comparing with file://ha/config/appdaemon
current uri parent file://ha/config/ comparing with file://ha/config/
2022-11-05 22:12:23.659 [error] file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config: Error: file://ha/config/appdaemon/apps/modem_telnet_dsl.py is not correctly configured as a child of its file://ha/config
at N.createAndConfigureFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2113:5)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9283
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2111:9035)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5173
at C.forEach (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:19:37172)
at W.add (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:5102)
at U.onSearchCompleted (vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9944)
at vscode-file://vscode-app/d:/Downloads/VSCode-win32-x64-1.74.0-insider/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:9613
Thanks for the logs @oscarhermoso @Salvora 😊 it should be fixed in tomorrow's Insiders version!
What is the best way to verify this? I tried the following on VS Code stable, but I wasn't able to repro the issue:
I've updated to the latest version of VS Code and haven't seen the issue since @alexr00, definitely resolved for me
@oscarhermoso you are referring to insider version correct? Can't wait for official November release (thx @andreamah for the fix), and still don't get why it affected so few people.
Still facing same issue on macOS:
Version: 1.74.0 Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91 Date: 2022-12-05T16:43:37.594Z (2 days ago) Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin x64 21.2.0 Sandboxed: No
I can also add that it is more painful when typing in search box (over copy pasting a term in search box or using cmd+shift+f) UI becomes unresponsive, can't stop the search, can't click anywhere else). And ultimately VSCode crashes.
@JeanPerriault Are you getting the error message of "is not correctly configured as a child of its"? What does your workspace path look like?
@andreamah Yes error message is the same:
2022-12-12 15:19:48.145 [error] vscode-remote://ssh-remote%2Bjperriau-ma/Users/jperriau/workspace/test/tools/dir/%2Bsubdir/file.m is not correctly configured as a child of its vscode-remote://ssh-remote%2Bjperriau-ma/Users/jperriau/workspace/test/tools/dir/: Error: vscode-remote://ssh-remote%2Bjperriau-ma/Users/jperriau/workspace/test/tools/dir/%2Bsubdir/file.m is not correctly configured as a child of its vscode-remote://ssh-remote%2Bjperriau-ma/Users/jperriau/workspace/test/tools/dir/
at N.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:10145)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:7302
at Array.forEach (<anonymous>)
at N.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:7053)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:14532
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36283)
at j.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:14474)
at V.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:17957)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2035:17708
It really looks like a debounce issue, when typing in search field.
For information, I have 35 folders in my workspace, with some of them containing a huge hierarchy and lots of files. But until October this year everything was working fine.
FWIW, in my workspace file, folders are declared like this:
{
"folders": [
{
"uri": "vscode-remote://ssh-remote+jperriau-ma/Users/jperriau/workspace/xp",
"name": "XP"
},
{
"uri": "vscode-remote://ssh-remote+jperriau-ma/Users/jperriau/workspace/test/tools/dir",
"name": "Tests"
},
[...]
Hi @JeanPerriault! Can you follow the steps that I listed in https://github.com/microsoft/vscode/issues/164664#issuecomment-1304331166 and show me your logs? I just re-added trace logging in Insiders.
Hello @andreamah, here is the produced log with Visual Studio Code - Insiders
Version: 1.75.0-insider (Universal)
Commit: 1379f0375440df946adc62f7afb8375dd45d5adf
Date: 2023-01-17T05:21:02.509Z (7 hrs ago)
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin x64 21.2.0
Sandboxed: Yes
2023-01-17 13:40:28.889 [info] Electron sandbox mode is enabled!
2023-01-17 13:40:28.968 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'commentsResolvedState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-01-17 13:40:32.225 [info] [perf] Render performance baseline is 21ms
2023-01-17 13:41:01.959 [error] file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/: Error: file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/
at P.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1896:5)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7271
at Array.forEach (<anonymous>)
at P.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7022)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4418
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36149)
at U.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4360)
at H.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:8509)
2023-01-17 13:44:28.179 [error] file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/: Error: file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/
at P.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1896:5)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7271
at Array.forEach (<anonymous>)
at P.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7022)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4418
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36149)
at U.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4360)
at H.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:8509)
2023-01-17 13:44:28.390 [error] file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/: Error: file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/
at P.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1896:5)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7271
at Array.forEach (<anonymous>)
at P.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7022)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4418
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36149)
at U.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4360)
at H.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:7856)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:7607
2023-01-17 13:44:31.353 [error] file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/: Error: file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/
at P.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1896:5)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7271
at Array.forEach (<anonymous>)
at P.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7022)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4418
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36149)
at U.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4360)
at H.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:7856)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:7607
2023-01-17 13:44:33.110 [error] file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/: Error: file:///Users/jperriau/workspace/tests/integration/testPyramid.xml is not correctly configured as a child of its file:///Users/jperriau/workspace/tests/
at P.createAndConfigureFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1896:5)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7271
at Array.forEach (<anonymous>)
at P.addFileMatch (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1894:7022)
at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4418
at S.forEach (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:36149)
at U.add (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:4360)
at H.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1898:8509)
@andreamah: using the insiders version restricted the potential cause to my workspace file content (xxx.code-workspace) - and it had to be on my side as this issue doesn't seem widespread. It turns out that some folders path in this file were ending with a slash, others not. I've removed ending slash everywhere, and everything seems to be back working. Could you confirm this situation could lead to this bug?
@JeanPerriault were you using trace logs when collecting logs? I can't seem to find the logs that I added to insiders. The logs should be in the Window
output channel.
@andreamah: using the insiders version restricted the potential cause to my workspace file content (xxx.code-workspace) - and it had to be on my side as this issue doesn't seem widespread. It turns out that some folders path in this file were ending with a slash, others not. I've removed ending slash everywhere, and everything seems to be back working. Could you confirm this situation could lead to this bug?
@ this, were the folders actually ending in /
, or was it defined with a /
at the end in the .code-workspace
file?
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!
@andreamah 1) Yes I've used insider version, with all traces enabled (Developer: Set log level, then chose "Trace ... All" entry). I was also surprised to see no specific logs. 2) Some folders were defined with a "/" at the end the .code-workspace file.
@JeanPerriault were you on the Window
channel for the output?
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
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
Log (Window) Trace:
Log (Host Extension) Trace