mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
* ghcide: Pass -fmax-valid-hole-fits=10 to GHC In cases where GHC doesn't know anything about the type of a hole, it suggests every available symbol as a hole fit, which can cause editors to crash or at least be very slow. 10 seems to be a fair number to limit hole fits to. * hls-refactor-plugin: Ignore "Some hole fits suppressed" message when valid hole fits are limited * hls-refactor-plugin: More predictable hole fit for test Now that we limit number of hole fits recommended by GHC, the test that hopes to find `+` being recommended for `Int -> Int -> Int` becomes unpredictable because there are too many symbols which match that type and the sorting has little control over which symbols get recommended. There are way fewer matches for `(Int -> Maybe Int) -> Maybe Int -> Maybe Int`, so it makes the test consistently succeed. --------- Co-authored-by: Michael Peyton Jones <me@michaelpj.com> |
||
---|---|---|
.circleci | ||
.github | ||
.gitlab | ||
bench | ||
bindist | ||
docs | ||
exe | ||
ghcide | ||
ghcide-bench | ||
hie-compat | ||
hls-graph | ||
hls-plugin-api | ||
hls-test-utils | ||
plugins | ||
release | ||
scripts/release | ||
shake-bench | ||
src | ||
test | ||
test-logs | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.gitpod.Dockerfile | ||
.gitpod.yml | ||
.hlint.yaml | ||
.pre-commit-config.yaml | ||
.readthedocs.yaml | ||
.stylish-haskell.yaml | ||
cabal.project | ||
ChangeLog.md | ||
CITATION.cff | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
default.nix | ||
docutils.nix | ||
flake.lock | ||
flake.nix | ||
fmt.sh | ||
FUNDING.yml | ||
GenChangelogs.hs | ||
GNUmakefile | ||
haskell-language-server.cabal | ||
LICENSE | ||
README.md | ||
RELEASING.md | ||
Setup.hs | ||
shell.nix | ||
stack-lts21.yaml | ||
stack.yaml |
haskell-language-server
The official Haskell language server (LSP) implementation. Consult the project documentation for more details.