Re: Suggested query editor improvements: Tabs and Indentation

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Suggested query editor improvements: Tabs and Indentation
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40176CF03@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Suggested query editor improvements: Tabs and Indentation  (<palmerj@xtra.co.nz>)
Ответы Re: Suggested query editor improvements: Tabs and  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> palmerj@xtra.co.nz
> Sent: 19 September 2006 23:57
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Suggested query editor
> improvements: Tabs and Indentation
>
> Hi,
>
> I work really appreciate a few features in the query editor
> for Tabs and Indentation:
>
> - Set whether indentation should use tab or spaces
> - Set the tab width
> - Set the spaces per indent

Under File -> Options -> Query the is an indent characters option.

Set it to zero and you will get single tab indents.
Set it to a multiple of 8, and you will get N/8 tabs
Set it to any other number and you will get that many spaces.

I realise this is completely unintuitive but it might help you for now.
Doing it properly was on my list for this cycle but never got done. I
will look at it for the next release.

> - Have an auto-indent scheme. One I enjoy using is indents to
> the first non-empty column. (I think the Scintilla
> SCI_GETCOLUMN should be able to help with this).

Yes, that is also on my personal todo.

Regards, Dave

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

Предыдущее
От:
Дата:
Сообщение: Suggested query editor improvements: Tabs and Indentation
Следующее
От: "Joe Kramer"
Дата:
Сообщение: Re: [GENERAL] pgAdmin III v1.6 Beta 1 Released