-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Unable to get variable suggestions in VS Code, error in TS Server logs #27338
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
Milestone
Comments
Looks like there is an easy fix for this issue. Would you mind to accept PR on this? |
IllusionMH
added a commit
to IllusionMH/TypeScript
that referenced
this issue
Sep 26, 2018
I've tried several file/code structures, but no luck to get repro case and I would try to debug it later. In the meantime, do you accept PR that fixes exception? |
@IllusionMH sure, a PR would be great |
IllusionMH
added a commit
to IllusionMH/TypeScript
that referenced
this issue
Oct 1, 2018
RyanCavanaugh
added a commit
that referenced
this issue
Oct 2, 2018
…n-27338 Use safe some function to handle undefined declarations (fixes #27338)
Checked with recent @RyanCavanaugh Thank you! |
ghost
pushed a commit
that referenced
this issue
Oct 11, 2018
ghost
pushed a commit
that referenced
this issue
Oct 11, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem appeared last week when I've updated typescript version to
@next
and added path to updated version intypescript.tsdk
.As result - completion for object properties/methods works as intended, but VS Code unable to produce suggestions for variables etc. Which makes development in big files problematic.
Problem appeared in big JS only project (TS Server reports 3566 files),
allowJS
/checkJS
enabled. I will try to make smaller repro case later.VS Code 1.27.2 works fine with built-in TS 3.0.3, but fails with TS 3.1.0-dev.20180829 and later, therefore issue was created directly in this repo. VS Code Insiders, that has 3.1.0 build-in - has described problem.
TypeScript Version: 3.1.0-dev.20180925
First bad TypeScript Version: 3.1.0-dev.20180829
Search Terms: suggestions, completionInfo, intellisense, completion, 'some' of undefined
Code
Expected behavior:
Proper list of suggestions.
Actual behavior:
Only text suggestions are available in VS Code.
Screenshot
`tsserver.log` has next trace in it:
Related Issues:
Pull request that introduced issue #25708 line
The text was updated successfully, but these errors were encountered: