Re: Format SQL (external tool)

Поиск
Список
Период
Сортировка
От Michal Kozusznik
Тема Re: Format SQL (external tool)
Дата
Msg-id 52F36329.1050102@ifortuna.cz
обсуждение исходный текст
Ответ на Format SQL (external tool)  (Shane StClair <shane@axiomalaska.com>)
Ответы Re: Format SQL (external tool)  (Craig Ringer <craig@2ndquadrant.com>)
Список pgadmin-support
We are using SQL Assistant for a lot of tasks like code formatting, Autocomplete, code searching etc. Really powerful tool.
Unfortunately pgAdmin developers has been rejected my request to make CTRL-space hotkey optional in pgAdmin. Allegedly because of amount of work needed to do it (lol).
I wouldn't count on any cooperation from pgadmin dev team. sad.

On 31.1.2014 23:17, Shane StClair wrote:
Hi list,

Just suggesting an idea. It would be really nice to be able to configure an external command to format SQL in pgAdmin. After configuring the external tool path in prefs, user hits a key combo (Shift-Ctrl F?) and the highlighted query text (or all text if none highlighted) gets run through the formatter and replaces the original text in the query window. Would be flexible for the user and seems fairly simple to implement in pgAdmin. Just a thought!

Thanks,
Shane

--
Shane StClair
Software Engineer
Axiom Consulting & Design
http://www.axiomalaska.com

Вложения

В списке pgadmin-support по дате отправления:

Предыдущее
От: Dinesh Kumar
Дата:
Сообщение: Re: Tool for translation of Oracle PL/SQL into Postgresql PL/pgSQL
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Format SQL (external tool)