haskell-language-server
haskell-language-server copied to clipboard
Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
For example, if I have some source code files which are located on a [mapped drive over SMB on Windows](https://support.microsoft.com/en-us/windows/map-a-network-drive-in-windows-10-29ce55d1-34e3-a7e2-4801-131475f9557d): ``` H:\Path\to\Project\src\Main.hs ``` which is mapped to the network location:...
### Your environment Output of `haskell-language-server --probe-tools` or `haskell-language-server-wrapper --probe-tools`: ```sh ~/work-repo $ haskell-language-server --probe-tools haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /nix/store/1ngys7bwknlk8mixh5x3cxzxpnzn83ya-haskell-language-server-1.0.0.0/bin/haskell-language-server) Tool versions found on the $PATH cabal: 3.0.0.0...
### Your environment Output of `haskell-language-server --probe-tools` or `haskell-language-server-wrapper --probe-tools`: ```sh $ haskell-language-server-8.10.4 --probe-tools haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /home/dc/.ghcup/bin/haskell-language-server-8.10.4~1.0.0) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9) Tool versions found on the $PATH...
### Your environment Output of `haskell-language-server --probe-tools` or `haskell-language-server-wrapper --probe-tools`: zsh: command not found: haskell-language-server-wrapper Which lsp-client do you use: VS Code Describe your project (alternative: link to the project):...
I'm running VS Code on Linux. I found this message in the terminal console: ``` user error (Failed to get the immediate reverse dependencies of NormalizedFilePath "/home/greg/sol/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen/Paths_sol.hs") compiler (1,1) ```...
HLS is not able to resolve symbols in custom preludes (e.g. relude) when the mixins way is used to replace Prelude: ``` mixins: base hiding (Prelude) , relude (Relude as...
### Summary If some modules are conditionally built depending on flags, and the flag is off by default, then even if one explicitly enable that flag in corresponding `stack.yaml` used...
I don't have stack set up on my machine, did a clean checkout of this repo, configured and built with cabal, and when I try to open `../ghcide/test/src/Development/IDE/Test.hs` I get...
My project structure is such that my Haskell app is in a subfolder and not the project root. For example: ``` my-haskell-app/stack.yaml my-haskell-app/package.yaml my-haskell-app/src/etc... README.md etc... ``` When I open...
**Is your feature request related to a problem? Please describe.** I use fourmolu both via the language server and as a standalone tool in my CI process. When the versions...