Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

better completion for objects #9

Open
ghost opened this issue Oct 5, 2016 · 1 comment
Open

better completion for objects #9

ghost opened this issue Oct 5, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 5, 2016

Currently completion for object methods only seems to work once you start typing a method name after #. This isn't as useful as completion for records because you need to know at least the first character of the method name.

This seems to be an issue with merlin although I'm not sure why. However, we should be able to work around it by detecting when # is typed and first reconstructing the initial list of methods from the inferred type.

@ghost
Copy link
Author

ghost commented Oct 6, 2016

It looks like the emacs mode does support completion for methods but I think it uses something special to achieve it, maybe similar to how completion for labels works. I get this impression because when completing methods, they do not show up in the usual company-mode pulldown but are listed in a separate buffer, just like completion for labels.

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

No branches or pull requests

1 participant
and others