文宇祥
文宇祥
This is the merlin conversation I've got in vscode-ocaml. Wasn't the cursor right after `o#`? ``` command to merlin: ["tell","start","end","let o = object\n method print_a = print_endline \"a\";\n method print_b...
Seems my merlin env is not configured correct. `The Merlin toolkit version 2.5.1, for Ocaml 4.03.0` 
Yes, the `()` is auto inserted by vim after I type `o#` and then press Ctrl-X Ctrl-O. Please try v0.6.8, It use empty prefix instead of including `#`. I'll check...
My dev env seems broken after updated to macOS Sierra previously. I'm going to reinstall macOS and then solve this issue.
Merlin still doesn't work on my fresh installed macOS. I'll report it to merlin project. @db4 , the async problem looks like a bug of VS Code self. Currently, I'm...
@db4 The `a'` problem is that vscode doesn't use language's `wordPattern` to extract expression. See https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/debugHover.ts#L139 The `a.b` is fixed.
> Maybe it's worth a bug report or feature request to vscode team? Yes, it is.
Seems your color theme's problem. Try [dracula](https://marketplace.visualstudio.com/items?itemName=dracula-theme.theme-dracula) theme, it works best.
Although we can use `formatOnType` achieve that, but `formatOnType` could not handle cursor properly. So let's wait for https://github.com/Microsoft/vscode/issues/583
Thanks for your suggestion! I've noticed BuckleScript for a while. It's great! Currently vscode-ocaml has nothing complex. I can't find anything that can be written in OCaml to gain benefits....