Closed rahcusa closed 1 year ago
It seems like the issue depends on where vscode is launched from
If I start vscode from host OS (Windows) and open a folder inside WSL, the intellisense works somewhat
(it seems to be very limited,
e.g. it cant make suggestions from functions/imports etc. that are inside node_modules,
editor does not fade out unused variables
)
and if I launch vscode from WSL command-line code <path/to/my/project>
, intellisense does not work at all
Type: Bug
VSCode 1.74.0 + when opening project in WSL2 - Typescript Intellisense does not work Additionally under Extensions > @Builtin > TypeScript and JavaScript Language Features the Runtime Status remains 'Not Activated'`
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:38:16.075Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
System Info
|Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
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
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|31.73GB (17.62GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu-20.04/home/asuchar/build/worktrees/fedex/br_1-0_cmd_palette2 --remote=wsl+Ubuntu-20.04 --crash-reporter-id 989402c8-7cef-4366-98f0-a77ce1848176| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (4 x 2304)| |Memory (System)|19.55GB (18.41GB free)| |VM|0%|
Extensions (1)
Extension|Author (truncated)|Version ---|---|--- remote-wsl|ms-|0.72.0A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848cf:30577861 nodejswelcome1cf:30587006 282f8724:30602487 gswce1:30612156 3d0df643:30613357 dbltrim-noruby:30604474 89544117:30613380 fim-prod:30623723 ```