Skip to content
Snippets Groups Projects
  1. Jan 29, 2022
  2. Jan 28, 2022
  3. Jan 27, 2022
  4. Jan 25, 2022
  5. Jan 24, 2022
    • Kobayashi's avatar
      support selection range lsp feature (#2565) · 310e6a46
      Kobayashi authored
      
      * add selection range support
      
      * add the whole import area as a selection step
      
      * add selection range plugin to all project files
      
      * merge type signature with value definition
      
      * support ghc 9
      
      * fix it for ghc-9.0
      
      * remove unnecessary import
      
      * reformat GhcIde.hs
      
      * selection range: make it easier to understand
      
      * selection range: improve error handling
      
      * update lsp-types to 1.4.0.1
      
      * add selection range to doc
      
      * fix comment for findSelectionRangesByPositions
      
      * remove a use of partial function
      
      * update author & maintainer
      
      * use foldlM1 instead of foldl1
      
      * add testdata to cabal file
      
      * update performace tips and log level
      
      * update lsp-types in nix
      
      Co-authored-by: default avatarPepe Iborra <pepeiborra@gmail.com>
      310e6a46
    • Guillaume Bouchard's avatar
      Flake ghc 92 (#2621) · 61232682
      Guillaume Bouchard authored
      
      * refactor(flake): Use a separate flake for hackage sources
      
      This will be easier to update, and pass them as one dictionary.
      
      * flake: support for GHC 9.2
      
      I've naively copied most of the special cases for `GHC 9.0.1`.
      
      - `nix develop .\#haskell-language-server-921` gives me a shell in
        which I'm able to `cabal build`
      - `nix build .#haskell-language-server-921` builds HLS binary. I was
        able to use it in a proprietary codebase (by importing the flake) and
        it works fine.
      - some plugins are disabled, `brittany`, `stylishhaskell`, `hlint`,
        `haddockComments`, `alternateNumberFormat`. I didn't fight too much to
        fix this because I'm not using them. I'll do an effort in the future
        to fix them.
      - `nix develop .\#haskell-language-server-921-dev` does not starts, I
        need to investigate.
      
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      Co-authored-by: default avatarJavier Neira <atreyu.bbb@gmail.com>
      61232682
    • bradrn's avatar
      Correct issues with pre-commit hook (#2597) · f33954ec
      bradrn authored
      
      * Reformat in accordance with pre-commit hook
      
      * Typo fix: add missing comma to documented pre-commit hook
      
      * Exclude failing files from pre-commit hook
      
      'stylish-haskell' seems to always fail with a parse error on several
      files under ghcide/. Excluding these files from the pre-commit hook
      ensures that this hook can always succeed.
      
      * Add stylish-haskell excludes to Nix pre-commit hook
      
      * Reformat again in accordance with pre-commit hook
      
      This is basically the same as 800c165, but applied to new changes
      which have been added since then.
      
      Co-authored-by: default avatarJavier Neira <atreyu.bbb@gmail.com>
      f33954ec
  6. Jan 23, 2022
  7. Jan 22, 2022
    • Kobayashi's avatar
      fix positionInRange (#2625) · ffd0f346
      Kobayashi authored
      
      * add a failing test case for positionInRange
      
      * fix positionInRange in PluginUtils
      
      * add hls-plugin-api to CI
      
      * fix ci
      
      Co-authored-by: default avatarJavier Neira <atreyu.bbb@gmail.com>
      ffd0f346
    • Javier Neira 's avatar
      Use ghc+integer-gmp for alpine linux build release (#2615) · 92a8cc0b
      Javier Neira authored
      * Remove integer-simple workaround
      
      * Skip upload to the release
      
      * Fix echo cabal.project
      
      * Echo PATH
      
      * Use specific cache for build
      
      * runner not allowed out of steps
      
      * Use common cache
      
      * Use raw ubuntu for ghc-9.2.1
      
      * Enable alpine for ghc-9.2.1
      
      * Replace gitrev with githash
      
      * Handle GitInfo exception
      
      As it breaks `cabal install`
      
      * Clean up build workflow
      92a8cc0b
  8. Jan 21, 2022
    • Michael Peyton Jones's avatar
      Rework features documentation (#2603) · f0bbc390
      Michael Peyton Jones authored
      
      * Rework features documentation
      
      This does a few things:
      - Adds a clear listing of which LSP methods we support, and which we
      don't (requested a couple of times recently).
      - Lists every code action and code lens, which plugin provies them,
      their status, and code action kind where applicable (apart from Wingman
      because there are lots and I couldn't figure it all out).
      
      Possibly some of this information belongs elsewhere, e.g. perhaps
      instead of listing which versions don't have full support on this page,
      we should instead add a page to the GHC support page that lists which
      plugins work on which versions. Not sure.
      
      * Add a couple of known limitations
      
      * Move plugin GHC version support to other page
      
      * Purge useless status column
      
      * Update docs/features.md
      
      Add link to qualify imported names readme
      
      * Update docs/features.md
      
      * Update docs/features.md
      
      * Update docs/features.md
      
      * Update docs/features.md
      
      * Update docs/features.md
      
      i don't know how to use github
      
      * Clarify text
      
      * Mention limitations of apply-refact
      
      Co-authored-by: default avatarJ. S <document_done@hotmail.com>
      Co-authored-by: default avatarPepe Iborra <pepeiborra@gmail.com>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      f0bbc390
  9. Jan 20, 2022
    • Michael Peyton Jones's avatar
    • isovector's avatar
      Wingman: Fix fundeps (#2611) · b5b84491
      isovector authored
      
      * Fix fundeps
      
      * One unifier to rule them all
      
      * Fix imports
      
      Co-authored-by: default avatarPepe Iborra <pepeiborra@gmail.com>
      b5b84491
    • isovector's avatar
      Wingman idioms (#2607) · b5c6dd0d
      isovector authored
      * Allow idiom brackets
      
      * Allow record construction idioms
      
      * expected result
      
      * Fix noExtField
      b5c6dd0d
    • Javier Neira 's avatar
      Make work stack-9.2.1.yaml and enable `pedantic` (`-WError`) for cabal (#2606) · 25580353
      Javier Neira authored
      * Enable brittany for ghc-9.0.2
      
      * Make works using cabal freeze
      
      * Add stack 9.2.1 to ci
      
      * Use new *molu versions
      
      * Enable rename for stack 9.2.1
      
      * Use last ghc-lib
      
      * Use correct boot pkgs
      
      * Use last ghc-exactprint
      
      * Reorganize and use lens-5.1
      
      * update retrie
      
      * Comment class plugin package
      
      * Handle Nothing case
      
      * Restore ghc-typelits deps
      
      * More non-exhaustive patterns
      
      * More non-exhaustive patterns
      
      * Set pedantic (-WError) true for cabal
      
      * Remove pedantic as we set it out in cabal.project
      
      * Not set pedantic for ghc-9.2.1
      
      * Set pedantic in cabal.project's
      
      * More non-exhaustive patterns
      
      * Not set pedantic for ghc-9.0.1
      
      * More incomplete patterns
      
      * Fix WErrors
      
      * Dodgy import
      
      * Correct CPP conditions
      
      * Not MonadFail in Prelude
      
      * Fix more warnings
      
      * Restore missing fun
      
      * unused imports
      
      * Enable refine imports
      
      * more fixes
      
      * Enable brittany in nix for 9.0.1
      
      * Use newer prettyprinter
      
      * Return to master
      
      * Enable tactics in stack-9.2.1.yaml
      
      * Enable pedantic in ci
      
      * Avoid deprecation warning with CPP �
      
      * Use default prettyprinter
      
      * Update refinery for ghc-9.2.1
      
      * Ignore deprecations
      
      * Use dev version of ghc-source-gen
      
      * disable wingman for 9.2.1
      
      * Enable wingman for 9.0.2
      
      * disable tactic with flag
      
      * yaml grammar
      
      * Use setup-build action
      
      * Correct workflow
      
      * Build flags for al major os's
      
      * The integer twaek is needed for the solver
      
      * Disable tests beforehand
      
      * flags only affect local packages
      
      * Exclude 8.6.5
      
      * Exclude 8.8.4
      25580353
    • J. S's avatar
      Improve qualified import plugin readme (#2605) · 905f8f7e
      J. S authored
      
      After seeing #2603 might as well improve the docs a little so we can maybe link to it.
      
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      905f8f7e
  10. Jan 19, 2022
    • Tom Busby's avatar
      95987a79
    • isovector's avatar
      GHC-9.0 support for hls-tactics-plugin (#2581) · d640d139
      isovector authored
      
      * Initial partially broken ghc9 support for tactics
      
      It compiles and most tests succeed, but some fail.
      In particular, the ones where it should suggest `show` fails to find
      that as a possible solution and fails to find evidence for `Show a`.
      
      * Enable tactics plugin for nix as well
      
      * Wingman does support ghc9 now
      
      * Fix stack support for tactics ghc-9.0.1
      
      * Enable tests for tactics on ghc-9 on ci
      
      * Actually enable tactics for ghc-9 on nix
      
      * Wingman: Improve test failure messages
      
      Previously when wingman fails to find a solution, the test failure
      would say "Timed out when waiting for a message".
      Now it instead prints the error message from wingman.
      
      * Get theta
      
      * Make wrapper theta discovery more reliable
      
      * Fix AutoThetaRankN
      
      * Fix FmapJoin and FmapJoinInLet
      
      * Fix MetaBegin
      
      * Cleanup
      
      * Fix merge
      
      More fixing the merge
      
      No, seriously fix the merge
      
      Fix a broken merge
      
      * Need a comma
      
      * Try a better ConPatIn
      
      * Oops
      
      * its a nightmare
      
      * i hate ci
      
      * ok that fixes the conpat
      
      * Maybe this is the end of it
      
      * ci
      
      * refinery
      
      * undo some changes
      
      * no more tctypes?
      
      * maybe it builds now
      
      * omg
      
      * om F g
      
      * expect fail on 9.2
      
      * fix
      
      * fix again
      
      Co-authored-by: default avatarAndreas Källberg <anka.213@gmail.com>
      Co-authored-by: default avatarJavier Neira <atreyu.bbb@gmail.com>
      d640d139
  11. Jan 18, 2022
  12. Jan 17, 2022
Loading