Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: SQL Auto completion feature for Query Tool
Date: 2016-05-19 11:24:13
Message-ID: CANxoLDdQJau1_Xep3w6m=YV386Md9UJGstnmBeF3z44zXu1ZZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)joshi(at)enterprisedb(dot)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(dot)joshi(at)enterprisedb(dot)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-9517Mobile: +91 976-788-8246*
>>
>
>
>
> --
> *Akshay Joshi*
> *Principal Software Engineer *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>

--
*Akshay Joshi*
*Principal Software Engineer *

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

Attachment Content-Type Size
SQLAutoCompletion_v1.patch application/octet-stream 77.9 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-05-19 13:33:19 pgAdmin 4 commit: Add Inspection support to the runtime when built in d
Previous Message Neel Patel 2016-05-19 11:16:59 [pgAdmin4][runtime]: Web Inspect feature in desktop application in debug mode