javascript autocompletion for DSL. (e.g.: SQL)

Posted by chacko on Stack Overflow See other posts from Stack Overflow or by chacko
Published on 2011-01-07T12:31:45Z Indexed on 2011/01/07 21:54 UTC
Read the original article Hit count: 173

I want to give the user a web-page where he can type some simple SQL.

select * from myTable.

What I would like is to have the autocompletion area to help typing:

  • sel
  • [selECT]

  • select * f

  • [select * fROM]

  • select * from

  • [select * fROM column1]
  • [select * fROM column2]
  • ...

Anybody can suggest if there is a nice open source library for this ?

I am not really interested in the SQL (I will have to parse a DSL) I am more interested on a powerful autocompletion text area widget.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-library