Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool
Date
Msg-id CANxoLDdQJau1_Xep3w6m=YV386Md9UJGstnmBeF3z44zXu1ZZg@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi All

Today I have added support for multi line and also improve searching logic. Please ignore the last patch.
Attached is the new patch. Please review it and let me know the review comments (if any). 

On Wed, May 18, 2016 at 8:18 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Just to update Multi line support is not there right now.

On Wed, May 18, 2016 at 8:09 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
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-9517
Mobile: +91 976-788-8246



--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246



--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
Attachment

pgadmin-hackers by date:

Previous
From: Neel Patel
Date:
Subject: [pgAdmin4][runtime]: Web Inspect feature in desktop application in debug mode
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Add Inspection support to the runtime when built in d