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

All auto-completion problems #943

Open
3 tasks
ulugbekna opened this issue Dec 5, 2022 · 2 comments
Open
3 tasks

All auto-completion problems #943

ulugbekna opened this issue Dec 5, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ulugbekna
Copy link
Collaborator

An umbrella issue for auto-completion problems:

given

let aux acc x = acc + x in 
List.fold_left [1; 2; 3] ~init:0 ~f:<|>

should olsp offer completion? Currently, one can circumvent the problem by using a typed hole ~f:_ will offer suggestions to fill the hole.

@rgrinberg rgrinberg added the bug Something isn't working label Feb 25, 2023
@copy
Copy link

copy commented May 11, 2023

After !, ocaml-lsp should offer to complete references, but it offers operators starting with ! (technically fine, but the former behavior is mostly what you want when typing !). If you put a space after ! it works.

@sidkshatriya
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants