mirror of
https://github.com/haskell/ghcide.git
synced 2024-09-11 05:36:09 +03:00
parent
78aa974579
commit
f89d2d60fa
@ -54,6 +54,19 @@ with the following content:
|
||||
cradle: {cabal: {component: "mylibrary"}}
|
||||
```
|
||||
|
||||
## ghc: readCreateProcess: does not exist
|
||||
|
||||
I was getting this in Windows: `ghcide.exe: ghc: readCreateProcess: does not exist (No such file or directory)`
|
||||
|
||||
And we figured a hack around for this:
|
||||
|
||||
VSCode user or workspace settings, add these:
|
||||
|
||||
"hic.executablePath": "stack",
|
||||
"hic.arguments": "exec ghcide -- --lsp"
|
||||
|
||||
Since I use stack. Required if you don't have a `ghc` on your path.
|
||||
|
||||
## Works in `ghcide` but not my editor
|
||||
|
||||
Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options:
|
||||
|
Loading…
Reference in New Issue
Block a user