on master help sign in
Copy notes from #183 (#209)
f89d2d6Neil Mitchell
docs/Setup.md+13
@@ -54,6 +54,19 @@ with the following content:
54cradle: {cabal: {component: "mylibrary"}}
54cradle: {cabal: {component: "mylibrary"}}
55```
55```
56
56
57+## ghc: readCreateProcess: does not exist
58+
59+I was getting this in Windows: `ghcide.exe: ghc: readCreateProcess: does not exist (No such file or directory)`
60+
61+And we figured a hack around for this:
62+
63+VSCode user or workspace settings, add these:
64+
65+ "hic.executablePath": "stack",
66+ "hic.arguments": "exec ghcide -- --lsp"
67+
68+Since I use stack. Required if you don't have a `ghc` on your path.
69+
57## Works in `ghcide` but not my editor
70## Works in `ghcide` but not my editor
58
71
59Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options:
72Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options: