Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Language Server: Return suggestions for compatible types #1445

Closed
farmaazon opened this issue Feb 1, 2021 · 0 comments · Fixed by #1613
Closed

Language Server: Return suggestions for compatible types #1445

farmaazon opened this issue Feb 1, 2021 · 0 comments · Fixed by #1613
Assignees
Labels
p-medium Should be completed in the next few sprints

Comments

@farmaazon
Copy link
Contributor

General Summary

Currently when Language Server is asked for suggestions for Integer methods this way:

{"jsonrpc":"2.0","id":16,"method":"search/completion","params":{"file":{"rootId":"c9e6b9e9-9009-4c17-9a22-a876c2332836","segments":["src","Main.enso"]},"position":{"character":6,"line":4},"returnType":null,"selfType":"Builtins.Main.Integer","tags":null}}

We receive a single suggestion of method up_to. The other compatible methods (e.g. those of Number) should be returned as well.

Motivation

This is to answer the IDE bug report: https://github.com/enso-org/ide/issues/1140

@iamrecursion iamrecursion added Category: Backend p-medium Should be completed in the next few sprints labels Feb 11, 2021
@iamrecursion iamrecursion added this to the Sprint 2020-02-15 milestone Feb 12, 2021
@iamrecursion iamrecursion removed this from the Sprint 2020-02-15 milestone Feb 26, 2021
@iamrecursion iamrecursion assigned iamrecursion and unassigned 4e6 Mar 22, 2021
@iamrecursion iamrecursion modified the milestone: Sprint 2020-02-15 Mar 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
p-medium Should be completed in the next few sprints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants