-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature request: Autocomplete #25
Comments
You mean code completition? Is there some simple switch in Ace that we can use which learns from the vocabulary in the current document? I am afraid we will not be able to do anything else, since |
I've described my use case here therustmonk/elm-ace#5 (comment) |
Thanks. Just a sincere question, what are the benefits of using The main purpose of custom elements is to encapsulate complex functionality with a simple DOM API, so I guess that's the reason, but maybe there's something more. Are custom elements a big thing in the Elm world? |
To have autocomplete working. Currently this should work https://github.com/lostinbrittany/ace-widget Look at LostInBrittany/ace-widget#16 |
This does not answer my question, but now I have another one... Why don't you use https://github.com/lostinbrittany/ace-widget? Again, I am asking sincerely, because |
This package Or maybe you have some other way in your mind to use ace directly.
At that time I didn't know how to enable autocomplete in any of these packages. |
In case you wanted another perspective on this, I'm also looking to use Ace in a custom element. This package is the first result for "ace editor custom element". Elm code can't directly interact with imperative APIs, so custom elements work really well with Elm, especially for integrating exiting libraries like Ace.
Good to know! In that case, I'll try ace-widget. Maybe you should add a note to the README of this package? |
I just wish this would work with juicy-ace-editor
The text was updated successfully, but these errors were encountered: