Skip to content
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

LSP: module based Autocompletion and Hovers #30

Closed
vknabel opened this issue Feb 7, 2022 · 0 comments
Closed

LSP: module based Autocompletion and Hovers #30

vknabel opened this issue Feb 7, 2022 · 0 comments
Labels
feature New feature or request lsp Language Server

Comments

@vknabel
Copy link
Owner

vknabel commented Feb 7, 2022

Our language server needs correct autocompletion, that works across file bounds. Instead it should parse the whole module structure including all imports.
The autocompletions and hovers should only respect current imports.
Both should not rely on type inference, yet.

These cases should be supported:

  • import members of a module, like lists.append
  • global and local declarations (func, let, enum, data, extern)
  • parameters
@vknabel vknabel added feature New feature or request lsp Language Server labels Feb 7, 2022
@vknabel vknabel added this to the Basic Language Server milestone Feb 7, 2022
@vknabel vknabel changed the title LSP: module based Autocompletion LSP: module based Autocompletion and Hovers Feb 7, 2022
vknabel added a commit that referenced this issue Mar 6, 2022
@vknabel vknabel closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request lsp Language Server
Projects
Status: Done
Development

No branches or pull requests

1 participant