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

Hoogle: Improve type signature detection #201

Open
mrcjkb opened this issue Jun 11, 2023 · 0 comments
Open

Hoogle: Improve type signature detection #201

mrcjkb opened this issue Jun 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mrcjkb
Copy link
Owner

mrcjkb commented Jun 11, 2023

Feature description

  • Use tree-sitter to get type information, and fall back to current method.
  • Search for "found hole" diagnostics if text under cursor is a hole
    The "found hole" diagnostic is more reliable than the hover documentation for extracting the type signature.
@mrcjkb mrcjkb added the enhancement New feature or request label Jun 11, 2023
@mrcjkb mrcjkb changed the title ht.hoogle.lsp_hoogle_signature: Search for "found hole" diagnostics if text under cursor is a hole Hoogle: Improve type signature detection Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant