-
Notifications
You must be signed in to change notification settings - Fork 12.8k
IntelliSense Not working when using ramda #39398
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
Comments
Please try collecting the TS Server log:
If you can share the log, I can take a look to see if anything stands out
|
Now I realize IntelliSense freezes after I save a file. I don't think is because my extensions because I was working with them time ago. The freezing lasts about 3 minutes and for some other functions doesn't work. Here is the log: |
Thanks. Can you also test with all extensions disabled to make sure one is not causing this? The only potential thing that stands out to me in the logs are a few long running requests:
Does intellisense resume if you wait a few seconds? |
I disabled all extensions and still the same if not worse, Intellisense just don't work on some functions and imports. I only enabled "JavaScript and TypeScript Nightly" but the same happened. Now, I enabled all extensions again but it's worse now lol intellisense just dont work. Five minutes and nothing happens. These are my logs without extension with an intellisense literally freezes. The problem is just on this react native project. I have other python, node, react native project and I don't have problem with them. Maybe it should be bacause ramda recursive functions on this particular project? |
+1 |
Okay, I found the bug but not the solution. And it was because of Ramda library. Example to reproduce the bug. Project directories:
For some reason, that will cause intellisense not to work. If I remove the export line in index.js. intellisense will work (restarting vscode). I think it's a vscode bug. |
@BravenxX @mjbvz I had experienced the same exact problem with CC: @amcasey |
Sounds like we should add this usage to our test suite. Also @pirix-gh, might you be able to take a look at ramda's types to see why this happens? |
I think he had changed user ID to @millsp |
Sure, I'll take a look |
@aecorredor would you mind linking the issue you had? (you mistakenly linked this same issue) |
I'll be working during this year on more performant ways to write Another thing that I could do is to try to further optimize |
@aecorredor @BravenxX @imcotton can you please confirm that this is still happening? I recently pushed a series of lib-wide optimizations, maybe this could explain why I can't get the bug repro to work 🤔 Let me know. |
@millsp for what package? TS, ramda, or @types/ramda? |
@aecorredor for ts-toolbelt which provides the |
Issue Type: Bug
Sudenly VsCode IntelliSense stop working. It gets freeze in "Loading..." when hover a js function or class on my Js files with my mouse. I'm working with react native. Only js no Typescript
I did nothing but write code.
I installed "JavaScript and TypeScript Nightly" extension but didn't work.
Version: 1.46.1 (user setup)
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:20.174Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18362
I repeat. I did nothing but write code.
The text was updated successfully, but these errors were encountered: