-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merlin fails only on VS Code #78
Comments
Seems like the problem is that I use zsh as my main shell, and my PATH is defined in So where can I put PATH so that VSCode can read it? |
You can open the developer tool of vscode, and then check |
You can use opam setup the shell init script. I remember it works |
I have somewhat similar issue with merlin failing on VSCode. It fails only with the file which uses js_of_ocaml ## syntax. When I start hovering the mouse over expressions, after few successful attempts the hover modal just starts showing "Loading..." and the CPU usage of merlin jumps to 100% until the process is killed. Other files seems to be working just fine. |
Sorry for the late response. Now it is the Spring Festival in China, I have not enough time to address this issue. I'll work for the bucklescript and js_of_ocaml support later. |
I've tested on my mac that zsh works well. All env defined in If your vscode can't get right env, It's an issue of vscode and I can help less. |
Started using bucklescript yesterday, and the ocaml plugin in VSCode has a weird behaviour.
Initially, when I got merlin, autocomplete worked fine. Once I started working on examples on bucklescript, I noticed merlin didn't work anymore.
I checked it with vim, and I had problems there as well, but they were fixed.
ocaml/merlin#617
So right now, merlin in vim works perfectly.
Also, I checked that
ocamlmerlin
andocp-indent
are available in the PATH and they work as expected.Still, in VSCode merlin doesn't work at all.
Any help on how to debug this?
Thank you.
The text was updated successfully, but these errors were encountered: