Reputation: 22526
Recently I discovered it's possible to have syntax-highlighting in a <textarea>
using JavaScript.
Are there Open Source libraries which also support auto completion? I'd like to make a simple online editor for HTML/CSS templates.
Preferably, the completion is can be extended, so I can add custom rules.
Upvotes: 14
Views: 10298
Reputation: 1944
Mozilla Labs has Skywriter (This project is no longer active) which is a browser based IDE. I don't know if it has code completion (I couldn't find it) though.
Upvotes: 0
Reputation: 45715
CodeMirror has ability to support autocompletion
Upvotes: 3
Reputation: 19027
You should check this wikipedia page on javascript based code editors. It lists the MDK-Editor as one that supports auto-completion for html, css and javascript. You can see a demo here.
Upvotes: 6