View Single Post

   
  #1 (permalink)  
Old 04-18-2008, 08:31 AM
palmerj
 
Posts: n/a
Default Re: Suggested query editor improvements: Tabs and Indentation

Hi Dave,

I know this is digging up something from the past, but is this still planned
for the next release? I don't see it on the development TODO list.

Thanks
Jeremy

> -----Original Message-----
> From: pgadmin-hackers-owner ( at ) postgresql ( dot ) org
> [mailtogadmin-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



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote