Autocomplete in sql plugin?

Is anyone working on support for autocomplete in sql plugin? I read posts from two years ago about this, but I think not much has happened since.

Features could include autocomplete of

  • sql syntax (select, distinct, from etc),

  • table names

  • columns in where clause.

  • some standard functions (count, max, sum etc)


These features would be real time-savers.

Bye,
Dag.

3 comments

There is currently no work on the autocomplete feature for the
SQLPlugin. As this would require the creation of an SQL parser/lexer it
is too much work for an plugin which I develop in my free time.

If someone would write a language plugin for the SQL language I could
probably integrate it.

Tschuess,
Stefan.

Dag Welinder wrote:

Is anyone working on support for autocomplete in sql plugin? I read posts from two years ago about this, but I think not much has happened since.

Features could include autocomplete of

  • sql syntax (select, distinct, from etc),

  • table names

  • columns in where clause.

  • some standard functions (count, max, sum etc)


These features would be real time-savers.

Bye,
Dag.

0

Why not get Antlr or JavaCC ready SQL syntaxes and plug them? You don't use Language aPI and can use anything may help.

0

I believe you couldn't do this. You would need the language API as far
as I know.

Dmitry Kashin wrote:

Why not get Antlr or JavaCC ready SQL syntaxes and plug them? You don't use Language aPI and can use anything may help.

0

Please sign in to leave a comment.