jupyter-xeus / xeus-sql

Jupyter kernel for SQL databases
https://xeus-sql.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
158 stars 21 forks source link

Add syntax completion to SQL #53

Closed marimeireles closed 2 years ago

marimeireles commented 2 years ago

Thorsten lovely added syntax completion for SQLite and I think we could do something very similar to his PR on xeus-SQL. We just need to make sure the keywords are universal, I guess, because otherwise it will recommend invalid words for invalid sub SQL languages.

This is a good issue for someone who'd like to contribute for the first time, let me know if you have any questions.

DerThorsten commented 2 years ago

this can a starting point https://github.com/jupyter-xeus/xeus-sql/pull/54

only the list of actual keywords needs to be changed . maybe this list needs to be conditioned on USE_POSTGRE_SQL / USE_MYSQL / USE_SQLITE3

marimeireles commented 2 years ago

maybe this list needs to be conditioned on USE_POSTGRE_SQL / USE_MYSQL / USE_SQLITE3

Yes, this is the source for the original list

marimeireles commented 2 years ago

closed by #53