-
Notifications
You must be signed in to change notification settings - Fork 729
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
Filter IntelliSense completions by declaration type #661
Labels
enhancement
New feature or request
Milestone
Comments
Thought about it some more... I think the safest way would be to filter out functions that return simple types (string, bool, int) when the contextual type of the property isn't compatible. We should still allow functions that return objects because when they user is assigning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should not be suggesting the concat() function if the contextual/declared type at the current position is not
string
or one of its subtypes.The text was updated successfully, but these errors were encountered: