microsoft / microsoft/vscode-remote-release
JS/TS Intellisense with WSL
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Issue Type: Performance Issue
Intelisense for JS/TS hangs indefinitenly on "initializing JS/TS language features when using WSL2 with visual studio (all newest versions) on windows 10.
Example project: https://github.com/elastic/kibana
Extension version: 0.53.4
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 4.19.128-microsoft-standard
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 5950X 16-Core Processor (32 x 3394) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 63.95GB (39.86GB free) |
| Process Argv | --crash-reporter-id 56677151-f648-4bda-a74a-61a8b5ce797c |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu-20.04 |
| OS | Linux x64 4.19.128-microsoft-standard |
| CPUs | AMD Ryzen 9 5950X 16-Core Processor (4 x 3393) |
| Memory (System) | 17.58GB (6.64GB free) |
| VM | 0% |
Process Info
CPU % Mem MB PID Process
0 85 25108 code main
0 45 2680 utility
0 87 6040 window (Issue Reporter)
0 301 8012 window (● index.ts - kibana [WSL: Ubuntu-20.04] - Visual Studio Code)
0 80 20216 extensionHost
0 63 23824 electron_node wslDaemon.js
0 6 16880 C:\Windows\System32\wsl.exe -d Ubuntu-20.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 622cb03f7e070a9670c94bae1a45d78d7181fbd4 stable .vscode-server 0 '
0 6 23848 C:\Windows\system32\lxss\wslhost.exe {40ee4010-dbab-4466-8825-4b215f42f80d} 472 500 504 {c1a64e62-1420-4e6f-aa47-fe07d64c292e}
0 13 12648 console-window-host (Windows internal process)
0 11 25160 console-window-host (Windows internal process)
0 142 9644 gpu-process
0 23 18896 crashpad-handler
0 97 22952 shared-process
Remote: WSL: Ubuntu-20.04
CPU % Mem MB PID Process
4 0 24118 remote agent
0 0 24429 extensionHost
0 0 24671 /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/node /home/marius/.vscode-server/extensions/dbaeumer.vscode-eslint-2.1.14/server/out/eslintServer.js --node-ipc --clientProcessId=24429
0 0 24719 /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/node /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=24429
0 0 25050 /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/node --max-old-space-size=3072 /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1000/18097d9cd8a86cc9d59b/tscancellation-37d4d1f7473e73bad945.tmp* --globalPlugins typescript-vscode-sh-plugin --pluginProbeLocations /home/marius/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/extensions/typescript-language-features --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation
0 0 24440 watcherService
0 0 24451 /bin/bash
0 0 25089 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
0 0 25090 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
| Remote: WSL: Ubuntu-20.04| Folder (kibana): more than 20602 files| File types: ts(4021) tgz(4008) md(3701) map(1838) js(1458) png(540)
| json(352) asciidoc(325) tsx(266) jar(262)
| Conf files: package.json(60) tsconfig.json(52) webpack.config.js(5)
| github-actions(3) grunt.js(1);
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt600cf:30251589
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the hang with the Kibana workspace under WSL: Ubuntu-20.04, then inspect the reported tsserver.js process and the remote extension host. Done means JS/TS IntelliSense completes initialization instead of remaining indefinitely on the loading message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux, typescript, ubuntu, vscode
- Domain
- developer-experience, operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100