Обсуждение: Calltips in pgAdmin SQL Editor

Поиск
Список
Период
Сортировка

Calltips in pgAdmin SQL Editor

От
klo uo
Дата:
Hi,

I believe SQL Editor in pgAdmin wx GUI is Scintilla.
Scintilla supports calltips (as in SciTE with *.api files).

If above is true, is there a way to make SQL Editor support calltips on user defined commands?

Re: Calltips in pgAdmin SQL Editor

От
Guillaume Lelarge
Дата:
Hi,

2014-07-27 8:55 GMT+02:00 klo uo <klonuo@gmail.com>:
Hi,

I believe SQL Editor in pgAdmin wx GUI is Scintilla.
Scintilla supports calltips (as in SciTE with *.api files).

If above is true, is there a way to make SQL Editor support calltips on user defined commands?


pgAdmin uses scintilla on the SQL query tool. I think I get what calltips are, not sure what we should do with those on the query tool. Wanna explain a bit more?

Thanks.

PS: this should better go to pgadmin-support mailing list.

Re: Calltips in pgAdmin SQL Editor

От
klo uo
Дата:
Hi Guillaume,

if not obvious here are some usage examples:

 - novice user learning SQL or PL/pgSQL
 - user learning PostGIS
 - user documenting own functions

I've also attached two images:

[1] auto-completion PostGIS function
[2] calltip describing function basics, and providing information about parameters and return values


Apologies for posting in wrong list, would be great if Administrator could move the message thread to appropriate group.


Thanks,
Klo


On Sun, Jul 27, 2014 at 1:43 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
Hi,

2014-07-27 8:55 GMT+02:00 klo uo <klonuo@gmail.com>:

Hi,

I believe SQL Editor in pgAdmin wx GUI is Scintilla.
Scintilla supports calltips (as in SciTE with *.api files).

If above is true, is there a way to make SQL Editor support calltips on user defined commands?


pgAdmin uses scintilla on the SQL query tool. I think I get what calltips are, not sure what we should do with those on the query tool. Wanna explain a bit more?

Thanks.

PS: this should better go to pgadmin-support mailing list.

Вложения

Re: Calltips in pgAdmin SQL Editor

От
Guillaume Lelarge
Дата:
2014-07-27 14:13 GMT+02:00 klo uo <klonuo@gmail.com>:
Hi Guillaume,

if not obvious here are some usage examples:

 - novice user learning SQL or PL/pgSQL
 - user learning PostGIS
 - user documenting own functions

I've also attached two images:

[1] auto-completion PostGIS function
[2] calltip describing function basics, and providing information about parameters and return values


OK, that's what I thought it was. Nobody's working on this yet, AFAICT. We have completion, but not that kind of things. A patch would be great.
 

Apologies for posting in wrong list, would be great if Administrator could move the message thread to appropriate group.


That won't happen. This isn't a web forum :)
 

Thanks,
Klo


On Sun, Jul 27, 2014 at 1:43 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
Hi,

2014-07-27 8:55 GMT+02:00 klo uo <klonuo@gmail.com>:

Hi,

I believe SQL Editor in pgAdmin wx GUI is Scintilla.
Scintilla supports calltips (as in SciTE with *.api files).

If above is true, is there a way to make SQL Editor support calltips on user defined commands?


pgAdmin uses scintilla on the SQL query tool. I think I get what calltips are, not sure what we should do with those on the query tool. Wanna explain a bit more?

Thanks.

PS: this should better go to pgadmin-support mailing list.



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




--

Re: Calltips in pgAdmin SQL Editor

От
klo uo
Дата:
Thanks


On Sun, Jul 27, 2014 at 2:22 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
2014-07-27 14:13 GMT+02:00 klo uo <klonuo@gmail.com>:
 

Apologies for posting in wrong list, would be great if Administrator could move the message thread to appropriate group.


That won't happen. This isn't a web forum :)