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

Draft: Implement a language server #100

Closed
wants to merge 77 commits into from
Closed

Commits on Dec 9, 2020

  1. Gitignore .vscode

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    4e005d1 View commit details
    Browse the repository at this point in the history
  2. Add language server mode

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c3db897 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d5b075 View commit details
    Browse the repository at this point in the history
  4. Add dependency on lens library

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    1889536 View commit details
    Browse the repository at this point in the history
  5. Update stack resolver

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    665f959 View commit details
    Browse the repository at this point in the history
  6. Add unliftio extra-dep

    Required to build the latest version of the lsp library
    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    98cde17 View commit details
    Browse the repository at this point in the history
  7. Implement basic LSP handler

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    d86f6b6 View commit details
    Browse the repository at this point in the history
  8. Move 'fail' implementations to MonadFail

    as Monad.fail was removed from GHC 8.8
    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    19f0d18 View commit details
    Browse the repository at this point in the history
  9. Implement 'fail' for IOErr

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    206d174 View commit details
    Browse the repository at this point in the history
  10. Implement 'fail' for Asm

    Use 'error' for now
    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    479718e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e62a764 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2ea5c22 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    90d0aa0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ed510ef View commit details
    Browse the repository at this point in the history
  15. Implement experimental hover

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    371dd04 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e42d151 View commit details
    Browse the repository at this point in the history
  17. Derive Show on RangeMap

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    e420c6b View commit details
    Browse the repository at this point in the history
  18. Implement hover using range map

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c3f8dee View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4618e99 View commit details
    Browse the repository at this point in the history
  20. Add rangeLength

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    e86f8e7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    20d5001 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f79f53b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    fc98530 View commit details
    Browse the repository at this point in the history
  24. Improve todo comments

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    de44cb8 View commit details
    Browse the repository at this point in the history
  25. Update cabal file

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    cbc8747 View commit details
    Browse the repository at this point in the history
  26. Update language server options in VSCode extension

    Rename 'languageServer.path' to 'languageServer.command' and add option
    for specifying the cwd. This is especially useful for development, e.g.
    in the following configuration:
    
        "koka.languageServer.command": "stack exec koka -- --language-server",
        "koka.languageServer.cwd": "path/to/cloned/koka"
    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    a085ae1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ae607d9 View commit details
    Browse the repository at this point in the history
  28. Using pretty-printer to generate better hovers

    Hover tooltips now display detailed type information.
    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    0d1c20e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    54d2e19 View commit details
    Browse the repository at this point in the history
  30. Move hover into separate module

    fwcd committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    f22e5cf View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    39038ae View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    e9225d2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d6362a8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    91c4604 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f2f5d41 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Move hover handler

    fwcd committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    74f144d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2422049 View commit details
    Browse the repository at this point in the history
  3. Add LSP initialization handler

    fwcd committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    1436685 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b89384 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7048e96 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2af326f View commit details
    Browse the repository at this point in the history
  7. Enable open/close notifications

    fwcd committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    ae48beb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8353451 View commit details
    Browse the repository at this point in the history
  9. Fix LS state accessor

    fwcd committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    eb21f36 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b37bf3b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Add LSP location conversions

    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    c646824 View commit details
    Browse the repository at this point in the history
  2. Add LSP definition handler

    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    ae2851b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d31c02a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc0a6ea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa604a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c47ef1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    317fe77 View commit details
    Browse the repository at this point in the history
  8. Add unneccessary tag to warnings mentioning 'unused'

    This enables editors to 'dim' unused variables and expressions.
    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    117ba29 View commit details
    Browse the repository at this point in the history
  9. Add some more doc comments

    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    3338b7f View commit details
    Browse the repository at this point in the history
  10. Add document symbol LSP handler

    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    0c11297 View commit details
    Browse the repository at this point in the history
  11. Update imports in LSP handlers

    fwcd committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    88a7c29 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    97c84f5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9381e70 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    06e4655 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9bc5fae View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9533e32 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c436f3c View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Switch 'vscode' dependency to '@types/vscode'

    'vscode' is deprecated.
    fwcd committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    810a966 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    369b33e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68e4db8 View commit details
    Browse the repository at this point in the history
  4. Add completion handler stub

    fwcd committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    c78fb45 View commit details
    Browse the repository at this point in the history
  5. Add basic value completions

    fwcd committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    9234ac5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2eb4340 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2184bc7 View commit details
    Browse the repository at this point in the history
  8. Add basic synonym completions

    fwcd committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    a7d6a85 View commit details
    Browse the repository at this point in the history
  9. Update note on type completions

    fwcd committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    49aa566 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4d474a1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a503d27 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a54b90d View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. Update vscode dependencies

    fwcd committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    8e10a56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93d10b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. Add keyword completions

    fwcd committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    6dfee8f View commit details
    Browse the repository at this point in the history