Skip to content
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

missing module if build dir is not current dir #92

Open
self-creative opened this issue May 1, 2017 · 10 comments
Open

missing module if build dir is not current dir #92

self-creative opened this issue May 1, 2017 · 10 comments

Comments

@self-creative
Copy link

image

@self-creative
Copy link
Author

.merline can solve it

@swuecho
Copy link

swuecho commented Jun 16, 2017

have similar issues.

@hackwaly
Copy link
Owner

@swuecho
Copy link

swuecho commented Jun 16, 2017

@hackwaly thanks for quick reply. unfortunately, still have probelm.

I have a repo https://github.com/swuecho/test_vscode, with two branch. the master branch works pefectly. (thank for this amazing package), but the 'not_work' branch do not work as expected. the difference is util.ml in it.
jbuilder build main.exe will compile the the main.ml and both branch run correctly.

@hackwaly
Copy link
Owner

Can't reproduce your problem.
image

@swuecho
Copy link

swuecho commented Jun 16, 2017

thanks for testing. that is weird.

➜  ~ uname -a           
Linux hao-home 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
➜  ~ code -v
1.13.1
379d2efb5539b09112c793d3d9a413017d736f89
➜  ~ 

@self-creative are you on linux too?

@hackwaly
Copy link
Owner

No, mine is mac. Which merlin version are you using?

@swuecho
Copy link

swuecho commented Jun 16, 2017

➜ ~ which ocamlmerlin
/home/hwu/.opam/4.04.0/bin/ocamlmerlin
➜ ~ opam list | ack merlin
merlin 2.5.4 Editor helper, provides completion, typin

@hackwaly
Copy link
Owner

I have no idea with you problem. You can use MERLIN_LOG env to figure out what's wrong.

You can export the MERLIN_LOG variable, e.g. MERLIN_LOG=/tmp/merlin.log and merlin will then log all its communication with your editor in that file.

@swuecho
Copy link

swuecho commented Jun 16, 2017

@hackwaly thanks. the 'not_work' branch works for me now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants