-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Intellisense stuck on loading after trying to index absolute import #39326
Comments
Can you share the project that causes this? |
Sorry its a private repo from my company... But here's the dependencies if that helps, bootstrapped with CRA
|
Also my eslintrc if that affects it? Although it happens even when I disabled extensions so I doubt that the eslint is having effect..
|
Can you create a minimal project that demonstrates the problem? |
Hmm its pretty hard to reproduce. I just created a copy project stripping out all of the core files and it works just fine.. but in a big projects it stucks at depth 1-2 of But if I stripped all of the core files (which has 5-6 main folders) it actually works just fine. But on the other hand it also works fine on sublime and vim. So i'm not really sure how to reproduce it |
Hey I think this is the same problem with microsoft/vscode#53541.. I am still having it after coming back right now :/ |
Moving upstream for more feedback To help us investigate, can you please try collecting the TS Server log:
This may help us identify why intellisense is so slow
|
Hey I reproduced the problem and have created the server log, it stucks on loading until it finishes indexing the import I guess? I'm also using absolute import so here's the jsconfig.json:
Also I'm using another language server in VIM and it works fine. Not sure if that is the one that vscode is using? but yes it contains some sensitive information and I don't want to risk it for anyone from my company to see that I violate the condition. Can I share to you in any other ways? Probably on private Gdrive or something else. Please let me know, thanks heaps! |
You can share them with: matb at microsoft. Google drive or email works fine |
Emailed you mate.. Try to see if you received the invite Thanks |
Hmm that's odd, No worries, just sent you the email. Its 11mb log file from dev at bluefit email |
@Bluefitdev can you please try this with typescript@next. Does this still repro. If yes can you please share the latest logs. if you want you can email them to me at shkamat at microsoft dot com. Thanks |
Yes this is still repro... I can email you the logs previously that I emailed to mjbvz Sent you email from dev at bluefit com au Still persist even from my windows pc (both mac and windows) |
@robertwt7 we will need logs with typescript@next so we are looking at the latest things. i |
So if i try to repro with the latest vscode, it should use the typescript@next lvm automatically right? I'll try to produce new log later |
@sheetalkamat I just sent you with the version Thanks |
@Bluefitdev can you please try out build at #42428 (comment) to see how its working out. Please send the tsserver report with that build if things have not improved. Thanks. |
I can confirm that this work. I got the intellisense almost instantly. Happy to go back to vscode! Thanks will be waiting for the next release with vscode :) |
Steps to Reproduce:
Bootstrapped with Create react app. Try to
import {} from "app/..."
goes loading. Afterwards intellisense won't work for 1-2 minutes until it starts working again in the code.Does this issue occur when all extensions are disabled?: Yes
Same thing goes on, if i try to index some files from the import. intellisense stays on loading on the code for 1-2 mins. Its pretty annoying when I need to code fast so sometimes when it loads i moved back to vim :(
Can anyone help please?
The text was updated successfully, but these errors were encountered: