Discussion:
Calltips in pgAdmin SQL Editor
klo uo
2014-07-27 06:55:17 UTC
Permalink
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?
Guillaume Lelarge
2014-07-27 11:43:54 UTC
Permalink
Hi,
Post by 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?
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
klo uo
2014-07-27 12:13:30 UTC
Permalink
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
Post by Guillaume Lelarge
Hi,
Hi,
Post by klo uo
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
Guillaume Lelarge
2014-07-27 12:22:13 UTC
Permalink
Post by klo uo
Hi Guillaume,
- novice user learning SQL or PL/pgSQL
- user learning PostGIS
- user documenting own functions
[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.
Post by klo uo
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 :)
Post by klo uo
Thanks,
Klo
Post by Guillaume Lelarge
Hi,
Hi,
Post by klo uo
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
--
http://www.postgresql.org/mailpref/pgsql-general
--
Guillaume.
http://blog.guillaume.lelarge.info
http://www.dalibo.com
klo uo
2014-07-27 13:26:39 UTC
Permalink
OK, replica here:
http://www.postgresql.org/message-id/CAA-***@mail.gmail.com


Thanks
Post by Guillaume Lelarge
Post by klo uo
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 :)
Loading...