| From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
|---|---|
| To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool |
| Date: | 2016-05-18 14:39:05 |
| Message-ID: | CANxoLDe-Sf5kY44js-LNFnU-=_HdaNo=xBTDfeO_bpLu9f3Rvw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Hi All
I have implemented the sql auto complete feature for Query Tool in
pgAdmin4. To achieve this I have analyzed the code of "*pgcli (*http://pgcli
.com/)" and also used some part of the code "(https://github.com/dbcli/pgcli
*)*" with our own modification.
"pgcli" buffers all the data(databases, tables, functions etc...) at once
while connecting to the database, but we can't do that, so when user press "
*Ctrl+Space*" in the Query Tool we will fetch the data and display the
suggestions accordingly.
Attached is the patch file. Please review it and let me know the review
comments (if any).
--
*Akshay Joshi*
*Principal Software Engineer *
*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
| Attachment | Content-Type | Size |
|---|---|---|
| SQLAutoCompletion.patch | application/octet-stream | 77.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Akshay Joshi | 2016-05-18 14:48:23 | Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool |
| Previous Message | Surinder Kumar | 2016-05-18 14:17:31 | Re: [PATCH] Tables node (pgAdmin4) |