Closed hamza-id closed 2 years ago
@hamza-id, when using WSL are you opening a folder/workspace that is on the Windows file system (ex: /mnt/...
), or on the Linux file system? I am asking as there are some known issues when it comes to file system events when a folder/workspace is opening from the Windows file system.
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!
Issue Type: Performance Issue
branch is switched but status it still show old branch name. BTW i am using code from WSL its only lag on wsl code otherwise working great thnx
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z) OS version: Windows_NT x64 10.0.19043 Restricted Mode: No Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|7.92GB (1.32GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu-20.04/var/www/hsal --remote=wsl+Ubuntu-20.04 --crash-reporter-id 0861babc-45e7-4308-8eb8-ecac35cab9b4| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1799)| |Memory (System)|6.13GB (2.80GB free)| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 0 64 2428 code main 0 26 1464 extensionHost 0 14 20748 "C:\Users\HAMZA\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\HAMZA\.vscode\extensions\ms-vscode-remote.remote-wsl-0.66.3\dist\wslDaemon.js 0 7 1896 C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node -e " const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 36763 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 6 6104 C:\Windows\system32\lxss\wslhost.exe {bf640b68-82ca-4fb8-8ee1-3839e59f7b20} 476 500 504 {ca788f4d-187c-4c3b-84c9-e404716fcbed} 0 13 8980 console-window-host (Windows internal process) 0 11 15056 console-window-host (Windows internal process) 0 7 14676 C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node -e " const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 36763 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 6 9028 C:\Windows\system32\lxss\wslhost.exe {bf640b68-82ca-4fb8-8ee1-3839e59f7b20} 476 496 500 {ca788f4d-187c-4c3b-84c9-e404716fcbed} 0 13 22620 console-window-host (Windows internal process) 0 11 14868 console-window-host (Windows internal process) 0 4 18900 C:\Windows\System32\wsl.exe -d Ubuntu-20.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=723497107-417455355-20838733-3750900697 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all' 0 3 1960 console-window-host (Windows internal process) 0 4 3352 C:\Windows\system32\lxss\wslhost.exe {bf640b68-82ca-4fb8-8ee1-3839e59f7b20} 504 484 488 {ca788f4d-187c-4c3b-84c9-e404716fcbed} 0 4 10628 console-window-host (Windows internal process) 0 233 1692 window (hsal [WSL: Ubuntu-20.04] - Visual Studio Code) 0 74 3268 issue-reporter 0 5 5676 crashpad-handler 0 16 11748 utility-network-service 0 54 20136 shared-process 0 8 3984 ptyHost 0 9 16468 fileWatcher 0 176 23408 gpu-process Remote: WSL: Ubuntu-20.04 CPU % Mem MB PID Process 15 0 1444 remote agent 0 0 1464 ptyHost 0 0 1865 /usr/bin/bash 0 0 1509 fileWatcher 0 0 1565 extensionHost 0 0 2329 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node /home/hamza-id/.vscode-server/extensions/bmewburn.vscode-intelephense-client-1.8.2/node_modules/intelephense/lib/intelephense.js --node-ipc --clientProcessId=1565 0 0 2605 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node /home/hamza-id/.vscode-server/extensions/onecentlin.laravel-blade-1.32.0/server/out/htmlServerMain.js --node-ipc --clientProcessId=1565 0 0 12219 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/extensions/html-language-features/server/dist/node/htmlServerMain --node-ipc --clientProcessId=1565 0 0 27518 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node --max-old-space-size=3072 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1000/fd204c6412db3b25c856/tscancellation-372df03da23b069b9891.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 0 27519 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node --max-old-space-size=3072 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1000/fd204c6412db3b25c856/tscancellation-c055c2684b751848b888.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 0 27562 /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/hamza-id/.cache/typescript/4.6 --enableTelemetry --typesMapLocation /home/hamza-id/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 0 31195 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 31196 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```Workspace Info
``` | Remote: WSL: Ubuntu-20.04| Folder (hsal): more than 20238 files| File types: php(5759) png(4036) svg(3800) js(1164) jpg(752) scss(661) | njk(545) css(269) md(224) json(179) | Conf files: dockerfile(4) package.json(3) grunt.js(3) makefile(3); ```Extensions (20)
Extension|Author (truncated)|Version ---|---|--- dotenv|mik|1.0.1 remote-wsl|ms-|0.66.3 laravel5-snippets|one|1.15.0 material-icon-theme|PKi|4.17.0 laravel-extra-intellisense|ami|0.6.2 vscode-intelephense-client|bme|1.8.2 laravel-goto-view|cod|1.3.7 gitlens|eam|12.0.7 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.5.0 laravel-create-view|gli|0.0.6 laravel-blade-wrapper|IHu|1.0.1 dotenv|mik|1.0.1 laravel-goto-components|nao|1.2.0 laravel-blade|one|1.32.0 laravel-extension-pack|one|1.1.0 laravel5-snippets|one|1.15.0 laravel-artisan|rya|0.0.28 vscode-blade-formatter|shu|0.14.5 laravel-goto-controller|ste|0.0.15A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 vscscmwlcmt:30465135 cppdebug:30492333 vscaac:30438847 vsclangdc:30486549 ```