Calltips in pgAdmin SQL Editor

Started by klo uoover 11 years ago5 messagesgeneral
Jump to latest
#1klo 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?

#2Guillaume Lelarge
guillaume@lelarge.info
In reply to: klo uo (#1)
Re: Calltips in pgAdmin SQL Editor

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.

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

#3klo uo
klonuo@gmail.com
In reply to: Guillaume Lelarge (#2)
Re: Calltips in pgAdmin SQL Editor

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
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:

Show quoted text

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.

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

Attachments:

Clipboard01.pngimage/png; name=Clipboard01.pngDownload
Clipboard02.pngimage/png; name=Clipboard02.pngDownload
#4Guillaume Lelarge
guillaume@lelarge.info
In reply to: klo uo (#3)
Re: Calltips in pgAdmin SQL Editor

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.

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

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

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

#5klo uo
klonuo@gmail.com
In reply to: Guillaume Lelarge (#4)
Re: Calltips in pgAdmin SQL Editor

OK, replica here:
/messages/by-id/CAA-8Ld8RntybiqWOz1rh69UGj0NBp30Cgj1vV2_T6kLY7Me8FA@mail.gmail.com

Thanks

On Sun, Jul 27, 2014 at 2:22 PM, Guillaume Lelarge <guillaume@lelarge.info>
wrote:

Show quoted text

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 :)