Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initellisense infinite loading #52691

Closed
SpaghettiC0des opened this issue Jan 21, 2023 · 3 comments
Closed

Initellisense infinite loading #52691

SpaghettiC0des opened this issue Jan 21, 2023 · 3 comments

Comments

@SpaghettiC0des
Copy link

Type: Bug

Suddenly happened after an upgrade.

Initializing JS/TS language features takes forever and it will hide for a split second then restart the loading process.

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T17:05:47.808Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
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) 4, 5, 8
Memory (System) 16.00GB (1.50GB free)
Process Argv --enable-proposed-api TabNine.tabnine-vscode --crash-reporter-id 76d02b11-2078-4fcb-8687-2ec6b9f79759
Screen Reader no
VM 0%
Extensions (37)
Extension Author (truncated) Version
string-converter ada 0.1.2
project-manager ale 12.7.0
vscode-neovim asv 0.0.95
markdown-mermaid bie 1.17.3
vscode-expo byC 0.9.2
vscode-markdownlint Dav 0.49.0
vscode-eslint dba 2.2.6
es7-react-js-snippets dsz 4.4.3
gitlens eam 13.2.0
prettier-vscode esb 9.10.4
copilot Git 1.69.8032
remotehub Git 0.48.0
vscode-pull-request-github Git 0.56.0
vscode-graphql Gra 0.8.5
vscode-graphql-execution Gra 0.1.7
vscode-graphql-syntax Gra 1.0.6
todo-tree Gru 0.0.220
svg joc 1.4.26
vscode-peacock joh 4.2.2
Kotlin mat 1.7.1
git-graph mhu 1.30.0
cpptools ms- 1.13.9
remote-repositories ms- 0.26.0
vscode-typescript-next ms- 5.0.202301200
vsliveshare ms- 1.0.5808
gradle-language nac 0.2.3
color-highlight nau 2.5.0
quicktype qui 12.0.46
vscode-yaml red 1.11.0
code-spell-checker str 2.14.0
vscode-stylelint sty 1.2.3
ayu tea 1.0.5
vsfire tob 1.4.1
vscode-conventional-commits viv 1.25.0
vscode-icons vsc 12.0.1
vscode-ruby win 0.28.0
JavaScriptSnippets xab 1.8.0

(8 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
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
pyindex848:30577860
nodejswelcome1cf:30587006
282f8724:30602487
f6dab269:30613381

@mjbvz
Copy link
Contributor

mjbvz commented Jan 22, 2023

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@nathanbabcock
Copy link

nathanbabcock commented Jan 26, 2023

@karlmarxlopez I had this same error, very frustrating. Eventually I found a fix:

  1. I manually ran tsc --build --verbose which gave me an out of memory error
  2. I re-ran the command with 8GB of extra heap size. This time it was able to complete and showed me some syntax errors in files which were not shown before (some of them were in global locations like Typescript AppData)
  3. I excluded these problematic files from compilation in tsconfig.json

After this I no longer experienced the intellisense infinite loading.

I believe this is ultimately a bug in Typescript, rather than VSCode, however -- These typescript build errors/OOM crash were never reported in the VSCode Typescript Language Server output even when I turned on verbose logging in the VSCode settings. Also, they never showed up when I ran my regular build (through an NPM script + Vite) which continued running fine the whole time.

HTH 👍

@mjbvz
Copy link
Contributor

mjbvz commented Feb 9, 2023

Closing as it sounds like the original issue has been resolved by reconfiguring the project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@SpaghettiC0des @nathanbabcock @mjbvz and others