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

feat(lsp): Add Inlay types #2005

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

spotandjake
Copy link
Member

This pr adds inlay types which closes #1359.

This pr is marked as a draft as there is still some work that needs to be done:

  • We probably want to simplify some of the type signatures (i.e function types can get very complex, might be better to just say Function, and show the return type and param types on the actual lambda)
  • We probably want to add a config to the vscode extension to toggle inlay types, as you might want inlay hints like the module hints but not the types.
  • We should probably decide if we want to enable inlays on Tuple patterns, record patterns, constructor patterns

Current Demo Below:
image

@spotandjake spotandjake added the lsp Issues related to the language server. label Feb 2, 2024
@spotandjake spotandjake self-assigned this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp Issues related to the language server.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LSP: Add support for inlay hints
1 participant