microsoft / vscode

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

js/ts language service crashed #194027

Closed luiscabus closed 11 months ago

luiscabus commented 12 months ago

Type: Bug

On the VSCODE start: did nothing out of the ordinary, working on same project as 10 mins before js/ts language service crashed pops up on right bottm corner

VS Code version: Code - Insiders 1.83.0-insider (7c7f7eee860e299499a3bd2915ad716f09f2d6a6, 2023-09-19T08:56:35.775Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz (16 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|63.87GB (33.74GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu/home/ubuntu/soci/soci-services/llp-renderer --remote=wsl+Ubuntu --crash-reporter-id bb64dfad-145a-4805-9570-98f4b3934d07| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.90.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz (4 x 2400)| |Memory (System)|15.62GB (6.59GB free)| |VM|0%|
Extensions (34) Extension|Author (truncated)|Version ---|---|--- classic-asp-html|jtj|0.1.3 remote-ssh|ms-|0.106.4 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.4 remote-explorer|ms-|0.4.1 sublime-keybindings|ms-|4.0.10 sqlite-viewer|qwt|0.3.13 ng-template|Ang|16.1.8 vscode-eslint|dba|2.4.2 gitlens|eam|2023.9.2512 EditorConfig|Edi|0.16.4 vscode-jest-runner|fir|0.4.66 shell-format|fox|7.2.5 copilot|Git|1.115.438 copilot-chat|Git|0.8.2023092501 vscode-test-explorer|hbe|2.21.1 classic-asp-html|jtj|0.1.3 vscode-jest-test-adapter|kav|0.8.1 rainbow-csv|mec|3.7.1 vscode-docker|ms-|1.26.1 black-formatter|ms-|2023.5.12681016 python|ms-|2023.17.12681021 vscode-pylance|ms-|2023.9.21 makefile-tools|ms-|0.7.0 sublime-keybindings|ms-|4.0.10 test-adapter-converter|ms-|0.1.8 vscode-typescript-next|ms-|5.3.20230924 reload|nat|0.0.6 vscode-jest|Ort|6.0.1 vscode-thunder-client|ran|2.12.3 vscode-xml|red|0.26.1 vs-code-prettier-eslint|rve|5.1.0 es6-mocha-snippets|spo|0.2.2 git-prefix|srm|1.3.1
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythontb:30258533 vsc_aa:30263845 pythonptprofiler:30281269 vshan820:30294714 vscod805cf:30301675 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30404738 py29gd2263:30784851 vsclangdf:30492506 c4g48928:30535728 dsvsc012:30540252 pynewext54:30618038 a9j8j154:30646983 showlangstatbar:30737417 57b77579:30687741 pythonfmttext:30716741 fixshowwlkth:30771523 showindicator:30805243 pythongtdpath:30726887 i26e3531:30792625 welcomedialog:30812478 pythonnosmt12:30779711 pythonidxpt:30768918 pythonnoceb:30776497 copilotsettingt:30808721 synctok:30821570 dsvsc013:30777762 dsvsc014:30777825 diffeditorv2:30786206 pythonlinttype:30823781 pythonmpsinfo:30842935 dsvsc015:30821418 pythontestfixt:30826906 pythonfb280951:30830809 pythonregdiag:30842812 pythonmypyd1:30841190 ```
luiscabus commented 12 months ago

Now typescript stopped working, doesn't hint, doesn't show popups.. even on my laptop, that shares the vscode account, typescript stopped working, and I wasn't even using it,.

luiscabus commented 11 months ago

What actually ended up happening was that the built-in typescript features got disabled. Once I was able to find it, I enabled it and restarted vscode-insiders. TypeScript and JavaScript Language Features