Fwd: Auto-complete and Calltips in SQL Editor - Mailing list pgadmin-hackers

From klo uo
Subject Fwd: Auto-complete and Calltips in SQL Editor
Date
Msg-id CAA-8Ld-HTBhUfi3yH8LCSOnZo-2c-D6HG-QkNwxFqBnv5V82Pw@mail.gmail.com
Whole thread Raw
Responses Re: Fwd: Auto-complete and Calltips in SQL Editor
List pgadmin-hackers
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

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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Update the disk image creation script so it works o
Next
From: Dave Page
Date:
Subject: Update Windows project files to VS 2013?