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

Show documentation when hovering over functions #4

Open
simonhorlick opened this issue Feb 18, 2021 · 1 comment
Open

Show documentation when hovering over functions #4

simonhorlick opened this issue Feb 18, 2021 · 1 comment

Comments

@simonhorlick
Copy link
Owner

simonhorlick commented Feb 18, 2021

One key feature of the language server is to support contextual information via hovering over code. It's useful for developers to not only be able to see the types that a function deals with, but also it's documentation.

When hovering over String.flatten below:

      let str = String.flatten([err, "\n", hig]);

The user should be able to see something like:

String.flatten(xs: List(String)): String

flatten takes a List of Strings and concatenates them into a single String.
@simonhorlick
Copy link
Owner Author

This is partially implemented in #16, however documentation is not taken into account.

@simonhorlick simonhorlick changed the title Add support for hovering over function applications Show documentation when hovering over functions Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant