microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.05k stars 29.22k forks source link

Search hangs with relative path to include #70925

Closed DStradley closed 5 years ago

DStradley commented 5 years ago

Issue Type: Bug

Currently, if I use a relative path in the "files to include" field on search, the search then runs and runs with no results (or sometimes just one or two). Visual Code itself is not hung, and the Cancel Search appears (and works), as well as a search "busy indicator". During this time, all 16 cores on my processor are busy, but it never seems to complete. I found that if I instead use a full path, then it works fine and the results are nearly immediate. (As they should be, being a simple search, and my files on a local SSD drive.)

VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z) OS version: Windows_NT x64 10.0.17134

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E5-1660 v3 @ 3.00GHz (16 x 2993)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled| |Memory (System)|31.90GB (25.13GB free)| |Process Argv|--folder-uri file:///d%3A/src/iModel.js/Work2/imodeljs| |Screen Reader|no| |VM|0%|
Extensions (4) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|10.3.0 vscode-typescript-tslint-plugin|ms-|1.0.0 debugger-for-chrome|msj|4.11.3 shader|sle|1.1.4
roblourens commented 5 years ago

Can you give an example of what you are using when you say "relative" and "full path"?

Also, please do the following

image

DStradley commented 5 years ago

I opened the folder in VSCode of D:\src\iModel.js\Work2\imodeljs\

Using a “files to include” path of D:\src\iModel.js\Work2\imodeljs\core\frontend\src\render I get:

[2019-03-21 20:49:14.599] [renderer1] [trace] SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"d:\src\iModel.js\Work2\imodeljs\core\frontend\src\render","external":"file:///d%3A/src/iModel.js/Work2/imodeljs/core/frontend/src/render","path":"/D:/src/iModel.js/Work2/imodeljs/core/frontend/src/render","scheme":"file"},"fileEncoding":"utf8","disregardIgnoreFiles":true,"disregardGlobalIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":true,"maxResults":10000,"type":2,"contentPattern":{"pattern":"ClassificationByIndex","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":250},"usePCRE2":false,"userDisabledExcludesAndIgnoreFiles":true} [2019-03-21 20:49:14.611] [renderer1] [debug] SearchService#search provideTextSearchResults ClassificationByIndex, {"folder":"file:///d%3A/src/iModel.js/Work2/imodeljs/core/frontend/src/render","excludes":[],"includes":[],"useIgnoreFiles":false,"useGlobalIgnoreFiles":false,"followSymlinks":true,"encoding":"utf8","maxFileSize":17179869184,"maxResults":10000,"previewOptions":{"matchLines":1,"charsPerLine":250},"usePCRE2":false} [2019-03-21 20:49:14.611] [renderer1] [trace] telemetry/searchResultsFirstRender {"duration":12} [2019-03-21 20:49:14.614] [renderer1] [debug] SearchService#search rg --hidden --ignore-case --max-filesize '17179869184' --no-ignore --follow --fixed-strings --no-config --no-ignore-global --json -- 'ClassificationByIndex' '.'

Using a path of core\frontend\src\render I get:

[2019-03-21 20:43:38.101] [renderer1] [trace] SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"d:\src\iModel.js\Work2\imodeljs","external":"file:///d%3A/src/iModel.js/Work2/imodeljs","path":"/d:/src/iModel.js/Work2/imodeljs","scheme":"file"},"fileEncoding":"utf8","disregardIgnoreFiles":true,"disregardGlobalIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"includePattern":{"/core\frontend\src\render/":true,"*/core\frontend\src\render":true},"maxResults":10000,"type":2,"contentPattern":{"pattern":"ClassificationByIndex","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&()-=+[{]}\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":250},"usePCRE2":false,"userDisabledExcludesAndIgnoreFiles":true} [2019-03-21 20:43:38.113] [renderer1] [debug] SearchService#search provideTextSearchResults ClassificationByIndex, {"folder":"file:///d%3A/src/iModel.js/Work2/imodeljs","excludes":[],"includes":["/core\frontend\src\render/","/core\frontend\src\render"],"useIgnoreFiles":false,"useGlobalIgnoreFiles":false,"followSymlinks":true,"encoding":"utf8","maxFileSize":17179869184,"maxResults":10000,"previewOptions":{"matchLines":1,"charsPerLine":250},"usePCRE2":false} [2019-03-21 20:43:38.113] [renderer1] [trace] telemetry/searchResultsFirstRender {"duration":11} [2019-03-21 20:43:38.114] [renderer1] [debug] SearchService#search rg --hidden --ignore-case -g '/core\frontend\src\render/' -g '/core\frontend\src\render' --max-filesize '17179869184' --no-ignore --follow --fixed-strings --no-config --no-ignore-global --json -- 'ClassificationByIndex' '.'

[2019-03-21 20:43:38.616] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\cookie-parser: The system cannot find the path specified. (os error [2019-03-21 20:43:38.617] [renderer1] [debug] SearchService#search 3)

[2019-03-21 20:43:38.618] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\delay-cli: The system cannot find the path specified. [2019-03-21 20:43:38.618] [renderer1] [debug] SearchService#search (os error 3)

[2019-03-21 20:43:38.620] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\express-session: [2019-03-21 20:43:38.620] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:38.632] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\passport: The system cannot find the path specified. [2019-03-21 20:43:38.632] [renderer1] [debug] SearchService#search (os error 3)

[2019-03-21 20:43:38.632] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\path: [2019-03-21 20:43:38.633] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:38.815] [renderer1] [debug] SearchService#search .\plugins\markup\node_modules\@types\node: [2019-03-21 20:43:38.815] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.428] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\@types\express-session: The system cannot find the path specified. [2019-03-21 20:43:39.428] [renderer1] [debug] SearchService#search (os error 3) .\test-apps\agent-test-app\node_modules\@types\minimist: The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.430] [renderer1] [debug] SearchService#search .\test-apps\agent-test-app\node_modules\@types\node: [2019-03-21 20:43:39.430] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3) .\test-apps\agent-test-app\node_modules\@types\passport: [2019-03-21 20:43:39.430] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.811] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\cookie-parser: [2019-03-21 20:43:39.811] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.813] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\delay-cli: [2019-03-21 20:43:39.814] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.817] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\express-session: [2019-03-21 20:43:39.817] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:39.831] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\passport: [2019-03-21 20:43:39.832] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\path: [2019-03-21 20:43:39.832] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:40.066] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fplugin-markup.tgz\node_modules\tslint: [2019-03-21 20:43:40.066] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:43.928] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\@types\express-session: The system cannot find the path specified. (os error [2019-03-21 20:43:43.929] [renderer1] [debug] SearchService#search 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\@types\minimist: The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:43.931] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\@types\node: [2019-03-21 20:43:43.931] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fagent-test-app.tgz\node_modules\@types\passport: The system cannot find the path specified. (os error 3)

[2019-03-21 20:43:44.491] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fplugin-markup.tgz\node_modules\@types\node: [2019-03-21 20:43:44.491] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:04.071] [renderer1] [trace] ContextViewService#showContextView [2019-03-21 20:44:04.084] [renderer1] [trace] ContextViewService#hideContextView [2019-03-21 20:44:04.084] [renderer1] [trace] ContextViewService#showContextView [2019-03-21 20:44:07.016] [renderer1] [trace] ContextViewService#hideContextView [2019-03-21 20:44:07.067] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"workbench.output.action.switchBetweenOutputs","from":"panel"} [2019-03-21 20:44:07.104] [renderer1] [trace] CommandService#executeCommand setContext [2019-03-21 20:44:15.119] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fbuild-tools.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator-extract-mode\extracting-runtime-generator.js: [2019-03-21 20:44:15.119] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:15.121] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fbuild-tools.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator\svg-to-icon-component-runtime-generator.js: [2019-03-21 20:44:15.121] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:18.873] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fui-test-app.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator-extract-mode\extracting-runtime-generator.js: [2019-03-21 20:44:18.874] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:18.874] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fui-test-app.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator\svg-to-icon-component-runtime-generator.js: [2019-03-21 20:44:18.874] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:19.659] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fwebpack-tools.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator-extract-mode\extracting-runtime-generator.js: The system cannot find the path specified. [2019-03-21 20:44:19.660] [renderer1] [debug] SearchService#search (os error 3)

[2019-03-21 20:44:19.660] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fwebpack-tools.tgz\node_modules\svg-sprite-loader\examples\custom-runtime-generator\svg-to-icon-component-runtime-generator.js: [2019-03-21 20:44:19.661] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

[2019-03-21 20:44:56.898] [renderer1] [trace] CommandService#executeCommand cursorHome [2019-03-21 20:44:56.899] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"cursorHome","from":"keybinding"} [2019-03-21 20:44:57.698] [renderer1] [trace] CommandService#executeCommand cursorHomeSelect [2019-03-21 20:44:57.699] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"cursorHomeSelect","from":"keybinding"} [2019-03-21 20:45:00.835] [renderer1] [trace] CommandService#executeCommand editor.action.selectAll [2019-03-21 20:45:00.836] [renderer1] [trace] telemetry/workbenchActionExecuted {"id":"editor.action.selectAll","from":"keybinding"} [2019-03-21 20:45:01.700] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fpresentation-integration-tests.tgz\node_modules\@rush-temp\presentation-integration-tests\node_modules.bin\cross-env-shell: The system cannot find the path specified. [2019-03-21 20:45:01.700] [renderer1] [debug] SearchService#search (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fpresentation-integration-tests.tgz\node_modules\@rush-temp\presentation-integration-tests\node_modules.bin\cross-env-shell.cmd: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Fpresentation-integration-tests.tgz\node_modules\@rush-temp\presentation-integration-tests\node_modules.bin\cross-env-shell.ps1: The system cannot find the path specified. (os error 3)

[2019-03-21 20:45:02.443] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\cpx.cmd: The system cannot find the path specified. [2019-03-21 20:45:02.445] [renderer1] [debug] SearchService#search (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\cpx.ps1: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\rimraf: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\rimraf.cmd: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\rimraf.ps1: The system cannot find the path specified. (os error 3)

[2019-03-21 20:45:02.445] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tsc.cmd: [2019-03-21 20:45:02.445] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tsc.ps1: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tslint: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tslint.cmd: The system cannot find the path specified. (os error 3) [2019-03-21 20:45:02.446] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tslint.ps1: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tsserver: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tsserver.cmd: The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\@rush-temp\test-apps-synchro-schedule-importer\node_modules.bin\tsserver.ps1 [2019-03-21 20:45:02.446] [renderer1] [debug] SearchService#search : The system cannot find the path specified. (os error 3)

[2019-03-21 20:45:02.735] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\tslint\lib\rules\code-examples\noObjectLiteralTypeAssertion.examples.d.ts: The system cannot find the path specified. (os error [2019-03-21 20:45:02.735] [renderer1] [debug] SearchService#search 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\tslint\lib\rules\code-examples\noObjectLiteralTypeAssertion.examples.js: The system cannot find the path specified. (os error 3)

[2019-03-21 20:45:02.737] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\tslint\lib\rules\code-examples\noUnnecessaryCallbackWrapper.examples.d.ts: [2019-03-21 20:45:02.738] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3) .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\tslint\lib\rules\code-examples\noUnnecessaryCallbackWrapper.examples.js: The system cannot find the path specified. (os error 3)

[2019-03-21 20:45:02.739] [renderer1] [debug] SearchService#search .\common\temp\node_modules.local\D%3A%2Fsrc%2FiModel.js%2FWork2%2Fimodeljs%2Fcommon%2Ftemp%2Fprojects%2Ftest-apps-synchro-schedule-importer.tgz\node_modules\tslint\lib\rules\code-examples\oneVariablePerDeclaration.examples.d.ts: [2019-03-21 20:45:02.739] [renderer1] [debug] SearchService#search The system cannot find the path specified. (os error 3)

(I eventually cancel this.)

David

From: Rob Lourens notifications@github.com Sent: Thursday, March 21, 2019 5:54 PM To: Microsoft/vscode vscode@noreply.github.com Cc: David Stradley David.Stradley@bentley.com; Author author@noreply.github.com Subject: Re: [Microsoft/vscode] Search hangs with relative path to include (#70925)

Can you give an example of what you are using when you say "relative" and "full path"?

Also, please do the following

[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_323878_35987940-2D02aae15a-2D0cb2-2D11e8-2D83f1-2Dd95c5dc3881b.png&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=CrR0P1-1oz766S_Ya80TZBSq-W64Qpe0M9qBO7zNsY4&s=iYkXHkAuc69XE_spsIapqMh7BUbWF72j2dORYG5dlA8&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Microsoft_vscode_issues_70925-23issuecomment-2D475432857&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=CrR0P1-1oz766S_Ya80TZBSq-W64Qpe0M9qBO7zNsY4&s=zUXCDWGfMM6Ki4nVzOhah_G9RN3stg5A5UZExZnqnoc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AujK1pKyUoTJXC3g9KuYOKJELrgir9v-5Fks5vZA2IgaJpZM4cCf-2DU&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=CrR0P1-1oz766S_Ya80TZBSq-W64Qpe0M9qBO7zNsY4&s=qiF6FqivBqP1kuNJcIspqhV3VOWcE8mMCEw_PEUdJQw&e=.

roblourens commented 5 years ago

It looks like you have toggled off the "Use Exclude Settings and Ignore Files" button (bottom right)

image

so it is spending a lot of time searching your node_modules, if that wasn't intentional, try turning that back on.

DStradley commented 5 years ago

Thanks, that was not intentional, and turning that back on solved the speed issue. However, why did using a full path not have the same problem?

David

From: Rob Lourens notifications@github.com Sent: Saturday, March 23, 2019 12:57 AM To: Microsoft/vscode vscode@noreply.github.com Cc: David Stradley David.Stradley@bentley.com; Author author@noreply.github.com Subject: Re: [Microsoft/vscode] Search hangs with relative path to include (#70925)

It looks like you have toggled off the "Use Exclude Settings and Ignore Files" button (bottom right)

[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_323878_37785522-2D9b4d3162-2D2db7-2D11e8-2D9011-2D5ca513e789b9.png&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=j7rQsLBIA0l4wZQEIsHEOXfdHqJDMUQMI2GVlvEpe1U&s=sWZ3nzY7LD5Lq6HIenBVnYcPqyyxCWNpYyC6sL-f2Nw&e=

so it is spending a lot of time searching your node_modules, if that wasn't intentional, try turning that back on.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Microsoft_vscode_issues_70925-23issuecomment-2D475842367&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=j7rQsLBIA0l4wZQEIsHEOXfdHqJDMUQMI2GVlvEpe1U&s=3frWcKiS5K1rdjmf99-yuYHUjdRWMC20O5tSy8HgmqA&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AujK1pA-5FMUErNSwovgNMTxFYqIi0E9zAks5vZcJHgaJpZM4cCf-2DU&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=j7rQsLBIA0l4wZQEIsHEOXfdHqJDMUQMI2GVlvEpe1U&s=4NUa5bQwWfHmE3a2Oq9parPJ0Z5n7uq0O_p9UAd46ag&e=.

roblourens commented 5 years ago

core\frontend\src\render is not a relative path from the root. It will search **/core\frontend\src\render/** in the entire workspace.