question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TS intelligence not working

See original GitHub issue

Issue Type: Bug

I had just generated a bunch of TS files on my local machine, which may have overloaded the TS server?

VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:09:06.581Z) OS version: Darwin x64 19.6.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i9-9980HK CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 4, 3
Memory (System) 32.00GB (3.12GB free)
Process Argv . --crash-reporter-id f8790d37-ee16-4930-bf63-ec4dd5a67828
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30345470
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
RyanCavanaughcommented, Aug 5, 2021

It’s certainly possible (and likely) to exhaust resource limits with 15,000 files. The LS is not really designed to scale up to an unbounded size; you will likely need to create some configuration to scope it down if you want intellisense. We are also working on some modes to automatically limit the analysis to the set of opened files; stay tuned for info on that.

0reactions
bradyasanacommented, Aug 12, 2021

Hi sorry for the delayed response here.

We are also working on some modes to automatically limit the analysis to the set of opened files; stay tuned for info on that.

This sounds very promising!

As an addendum to my request, would it be possible to add more verbose logging so users can more accurately diagnose the failure here? As said above, the last log line wasn’t particularly informative - indicating why the server crashed / what resource it ran out of would be incredible!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code Intellisense Typescript not working
Intellisense seems to work fine with ".d.ts" files as long as there's a tsconfig.json file in the root of the project. Whenever a...
Read more >
Fixing TypeScript Intellisense in Visual Studio Code - YouTube
I've been having issues within Visual Studio Code where Intellisense would not kick in for my custom TypeScript classes.
Read more >
Typescript Intellisense Not working - Visual Studio Feedback
A fix for this issue is now available in preview release. Try out the fix by installing the most recent preview from https://visualstudio.microsoft.com/vs/...
Read more >
IntelliSense not working in VS Code - The Windows Club
If IntelliSense or Autocomplete is not working in Visual Studio Code on your computer, the recommended fixes in this post are sure to...
Read more >
How to fix TypeScript IntelliSense not loading issue in VS Code
I had to wait for a long time to end the loading in the suggestion panel. but most of the time the results...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found