Fwd: Auto-complete and Calltips in SQL Editor

From: klo uo <klonuo(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Fwd: Auto-complete and Calltips in SQL Editor
Date: 2014-10-09 14:32:22
Message-ID: CAA-8Ld-HTBhUfi3yH8LCSOnZo-2c-D6HG-QkNwxFqBnv5V82Pw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-admin

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.

Attachment Content-Type Size
image/png 7.1 KB
image/png 10.7 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2014-10-09 19:13:44 Update Windows project files to VS 2013?
Previous Message jaime soler 2014-10-09 09:16:16 Re: Auto-complete and Calltips in SQL Editor

Browse pgsql-admin by date

  From Date Subject
Next Message Matt Kappel 2014-10-09 18:01:08 Re: PostgreSQL Training
Previous Message jaime soler 2014-10-09 09:16:16 Re: Auto-complete and Calltips in SQL Editor