microsoft / vscode

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

Vs code crashes typescript #212543

Closed omrish10 closed 5 months ago

omrish10 commented 5 months ago

Type: Performance Issue

Working with in an nx workspace, version 15.9. Typescript is version 5.1.

JS/TS language features keeps crashing.

VS Code version: Code - Insiders 1.90.0-insider (Universal) (816c6f7d7bc4da9796cd19ac6b122b6e26f50d7f, 2024-05-03T17:56:40.522Z) OS version: Darwin arm64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (8 x 24)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|8, 10, 8| |Memory (System)|32.00GB (0.37GB free)| |Process Argv|--crash-reporter-id a15bdeea-ea49-4202-8d91-2b0e4a924706| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 9 197 86600 code-insiders main 4 98 86603 gpu-process 0 33 86604 utility-network-service 3 655 86609 window [1] (resolvers.ts — unityscm) 0 33 86902 ptyHost 0 0 67395 /bin/zsh -il 0 0 86936 /bin/zsh -il 0 0 86956 /bin/zsh -il 0 0 86957 /bin/zsh -il 0 0 86958 /bin/zsh -il 0 66 86905 shared-process 0 360 87225 extensionHost [1] 0 33 87254 electron-nodejs (bin.js ) 0 66 87274 electron-nodejs (languageserver.js ) 0 33 87275 electron-nodejs (serverMain.js ) 0 66 87336 electron-nodejs (eslintServer.js ) 0 33 87344 /Users/omrishachal/Downloads/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper (Plugin).app/Contents/MacOS/Code - Insiders Helper (Plugin) /Users/omrishachal/Downloads/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=87225 0 98 87227 fileWatcher [1] ```
Workspace Info ``` | Window (resolvers.ts — unityscm) | Folder (unityscm): 12195 files | File types: ts(1778) js(1441) json(1165) yaml(789) html(671) tsx(640) | svg(370) map(367) sql(238) snap(205) | Conf files: package.json(173) tsconfig.json(138) project.json(135) | dockerfile(12) github-actions(2) launch.json(1) | settings.json(1) webpack.config.js(1) | Launch Configs: node(6) chrome(3) vscode-edge-devtools.debug(2); ```
Extensions (40) Extension|Author (truncated)|Version ---|---|--- vscode-angular2-files|ale|1.6.4 vscode-apollo|apo|1.20.0 atlascode|atl|3.0.10 path-intellisense|chr|2.8.5 vscode-eslint|dba|2.4.4 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.9.1 vscode-great-icons|emm|2.1.104 react-native-react-redux|EQu|2.0.6 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.6.0 json-tools|eri|1.0.2 prettier-vscode|esb|10.4.0 vscode-jest-runner|fir|0.4.73 auto-rename-tag|for|0.1.10 code-runner|for|0.12.2 shell-format|fox|7.2.5 copilot|Git|1.187.0 copilot-chat|Git|0.16.2024050702 vscode-pull-request-github|Git|0.89.2024050804 vscode-graphql-syntax|Gra|1.3.6 rest-client|hum|0.25.1 prettier-sql-vscode|inf|1.6.0 search-node-modules|jas|1.3.0 Angular-BeastCode|Mik|17.0.4 dotenv|mik|1.0.1 escape-quotes|mil|1.10.0 prettify-json|moh|0.0.3 vs-keybindings|ms-|0.2.1 vscode-typescript-next|ms-|5.5.20240505 material-icon-theme|PKi|5.1.0 prisma|Pri|5.13.1 quicktype|qui|23.0.158 vscode-yaml|red|1.14.0 vscode-taskkill|Shy|0.0.65 vscode-icons|vsc|12.7.0 quokka-vscode|Wal|1.0.639 change-case|wma|1.0.0 vscode-surround|yat|1.5.0 (13 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 tftest:31042121 vstes627:30244334 vscod805:30301674 vsaa593:30376534 py29gd2263:31024238 vscaat:30438846 c4g48928:30535728 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pyreplss1:30879911 pythonmypyd1:30859725 pythoncet0:30859736 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 666c4381:30973073 showvideot:31016890 chatpanelt:31014475 945dj816:31013170 a69g1124:31018687 dvdeprecation:31040973 pythonprt:31036556 dwnewjupytercf:31039676 ```
mjbvz commented 5 months ago

Typescript is version 5.1

The latest TS release is 5.4.5. Please test using this and let us know if you still see the crash

vscodenpa commented 5 months ago

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!