News for hackers. Stuff that matters.
Re:Harlequin.sh DuckDB IDE for your terminal by avinassh on Thursday September 21, 2023 @04:37AM (#37594843)
This looks very cool! how is autocomplete feature implemented?
Re:Harlequin.sh DuckDB IDE for your terminal by tconbeer on Thursday September 21, 2023 @03:47PM (#37603193)
Right now there is no autocomplete inside the text editor, but that will be added soon. DuckDB itself provides an extension that adds a table function that can be queried for completions like so:

select * from sql_auto_complete( 'select ra' )