-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Primitives completion is not working #11187
Comments
The list of suggestions is coming from the node debug adapter, thus forwarding to @weinand |
This works, but I'm not sure whether it should work in the |
I agree with @roblourens. Showing proposals for number constants does not makes sense. Also @weinand Shall I open a new issue for this? |
@sandy081 yes, please create a new issue (but I do not intend to fix that behaviour). The proposals are valid for the type 'number' and they are still helpful for @alexandrudima use case. Since I do not have a JavaScript parser/scanner available, I do not want to start validating JavaScript expression. There is an infinite number of incorrect expressions where we still return IntelliSense. |
Testing #10997
When typing
'hello'.
or5.
I would expect to get functions and properties available on the constants I defined. I use this a lot in Chromium to find a method and try it out quickly. At the moment, I get global suggestions such asBuffer
orconsole
which results in an invalid expression error.The text was updated successfully, but these errors were encountered: