Re: Suggested query editor improvements: Tabs and Indentation

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <palmerj(at)xtra(dot)co(dot)nz>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Suggested query editor improvements: Tabs and Indentation
Date: 2006-09-20 12:48:45
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40176CF03@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> palmerj(at)xtra(dot)co(dot)nz
> Sent: 19 September 2006 23:57
> To: pgadmin-hackers(at)postgresql(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Joe Kramer 2006-09-21 20:11:32 Re: [GENERAL] pgAdmin III v1.6 Beta 1 Released
Previous Message svn 2006-09-20 01:23:22 SVN Commit by hiroshi: r5385 - trunk/pgadmin3/i18n/ja_JP