Comments (7)
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 juicy-ace-editor
is just a thin wrapper for Ace.
from juicy-ace-editor.
I've described my use case here therustmonk/elm-ace#5 (comment)
from juicy-ace-editor.
Thanks. Just a sincere question, what are the benefits of using juicy-ace-editor
in Elm rather than directly using Ace in Elm?
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?
from juicy-ace-editor.
To have autocomplete working. Currently this should work https://github.com/lostinbrittany/ace-widget
Look at LostInBrittany/ace-widget#16
from juicy-ace-editor.
To have autocomplete working. Currently this should work lostinbrittany/ace-widget
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 juicy-ace-editor
was created 3 years ago when there was no other custom element wrapper around Ace editor. It is still actively maintain, but maybe we should give space to ace-widget
because it also seems nice and has more features.
from juicy-ace-editor.
What are the benefits of using juicy-ace-editor in Elm rather than directly using Ace in Elm
This package DenisKolodin/elm-ace
uses ace directly, but to add autocomplete you have to know how the Native works https://github.com/DenisKolodin/elm-ace/blob/master/src/Native/Ace.js
Or maybe you have some other way in your mind to use ace directly.
Why don't you use https://github.com/lostinbrittany/ace-widget?
At that time I didn't know how to enable autocomplete in any of these packages.
from juicy-ace-editor.
Just a sincere question, what are the benefits of using juicy-ace-editor in Elm rather than directly using Ace in Elm?
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.
juicy-ace-editor was created 3 years ago when there was no other custom element wrapper around Ace editor. It is still actively maintain, but maybe we should give space to ace-widget because it also seems nice and has more features.
Good to know! In that case, I'll try ace-widget. Maybe you should add a note to the README of this package?
from juicy-ace-editor.
Related Issues (20)
- Set font size with css calc HOT 1
- Custom styles HOT 7
- Change description HOT 3
- 2.0.x does not work in Edge HOT 1
- Editor not available after "editor-ready" event fired HOT 2
- Dynamic Height HOT 2
- Switch to npm HOT 6
- Weird enlarging effect when loading the juicy-ace-editor element
- Does not work in FireFox HOT 5
- Polymer 3.0 support? HOT 6
- How to mark a line number HOT 5
- ES Modules HOT 8
- Support distributed content (gold standard)
- Consider using `maxLines: Infinity` as default HOT 1
- Update ISSUE_TEMPLATE.md
- Update [email protected]
- Consider using `maxLines: Infinity` as default
- Use of `/ace-builds/src-noconflict` instead of `/ace-builds/src-min-noconflict` in v2.0.5
- Does not work in Firefox/Edge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juicy-ace-editor.