jbdoderlein / BetterOCaml

A small but efficient, intuitive and responsive OCaml IDE right in your browser! Ships OCaml v5.1.1, interpreter by your browser (so it works offline!), compiled with js_of_ocaml.
https://perso.eleves.ens-rennes.fr/people/jean-baptiste.doderlein/betterocaml
Apache License 2.0
37 stars 8 forks source link

Autocompletion enhancement #70

Closed fksosn closed 2 years ago

fksosn commented 2 years ago

When autocompletion is enabled, there is no way to temporarily block the enter key from applying the selected suggestion. This leads to small object names at the end of a line being autocompleted instead of starting a new line.

This could be fixed with :

jbdoderlein commented 2 years ago

I think the best solution to this problem is to extend the 'esc' effect, but I'll try the different possibilities and see which option is best.

I will work on this next week.

jbdoderlein commented 2 years ago

Fixed in 7083ea