Re: Fwd: Auto-complete and Calltips in SQL Editor

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: klo uo <klonuo(at)gmail(dot)com>
Cc: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Fwd: Auto-complete and Calltips in SQL Editor
Date: 2014-10-11 13:23:36
Message-ID: CAECtzeW1-Zz+j_L4wfS3jeGTxx+gxRq+bCkFn0ReQKE63RTDuA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-admin

2014-10-09 16:32 GMT+02:00 klo uo <klonuo(at)gmail(dot)com>:

> Hi list,
>
> Initially I posted this message in general list, where I was suggested to
> use this list instead.
> This is the link to initial message: message
> <http://www.postgresql.org/message-id/CAA-8Ld8vgnA4VRHQbuC72N9pQaeApf2YguxVXpEkHu-Bc1CkfA@mail.gmail.com>
>
> It was confirmed that pgAdmin uses Scintilla which has interface for
> calltip and auto-complete functions defined in:
>
> scintilla\src\CallTip.h
> scintilla\src\AutoComplete.h
>
> with simple implementation described in
>
> scintilla\doc\ScintillaUsage.html
>
> or full in SciTE editor.
>
>
> As implemented in SciTE these controls are evoked only if user provides
> calltip and auto-completion definitions (through *.api files) and user
> defines triggers for each action.
>
>
> These can be seen as helpers at least in these scenarios:
>
> - novice user learning SQL or PL/pgSQL
> - user learning PostgreSQL extension, like PostGIS
> - user manages own function
>
>
> I attached screenshots of these suggestions as they appear in SciTE.
>
>
>
Sorry, I forgot to follow on this. This seems interesting. I'd love to see
a patch for that :)

--
Guillaume.
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Sanket Mehta 2014-10-13 09:04:38 Re: Fixed PPAS trigger column view condition
Previous Message Dave Page 2014-10-10 15:54:51 Re: Fixed PPAS trigger column view condition

Browse pgsql-admin by date

  From Date Subject
Next Message Elías David 2014-10-12 17:33:18 PostgreSQL 9.3 abd CentOS 7 memory usage
Previous Message Simon Riggs 2014-10-10 08:15:51 Re: PostgreSQL Training