Re: [pgadmin-hackers] Autoformatting

2017-05-28 Thread Dave Page
On Sun, May 28, 2017 at 11:54 AM, Robert Eckhardt wrote: > > > On Tue, May 9, 2017 at 4:26 AM, Dave Page wrote: >> >> >> Anyhoo, The standard we try to use in pgAdmin at the moment is slightly >> different from the example you've given. To add it into the mix... >> >> /* Keywords Upper, 4 space i

Re: [pgadmin-hackers] Autoformatting

2017-05-28 Thread Robert Eckhardt
On Tue, May 9, 2017 at 4:26 AM, Dave Page wrote: > > Anyhoo, The standard we try to use in pgAdmin at the moment is slightly > different from the example you've given. To add it into the mix... > > /* Keywords Upper, 4 space indent, commas after, AND/OR after, > * no spaces after ( or before ),

Re: [pgadmin-hackers] Autoformatting

2017-05-09 Thread Dave Page
On Mon, May 8, 2017 at 3:50 PM, Robert Eckhardt wrote: > Over the weekend I created some options for formatting. certainly this > isn't complete but I hope it is a good starting point for the conversation. > Copy and paste lost syntax highlighting but please assume that will be > included. > > /*

Re: [pgadmin-hackers] Autoformatting

2017-02-15 Thread Raffi Holzer
Thanks Dave! We came to the same conclusion about a button press. And thank you for the SQL guidelines. On Wed, Feb 15, 2017 at 4:37 AM, Dave Page wrote: > Hi > > On Tue, Feb 14, 2017 at 3:02 PM, Raffi Holzer wrote: > > Hi Dave, > > When we were talking about auto formatting we were actually r

Re: [pgadmin-hackers] Autoformatting

2017-02-15 Thread Dave Page
Hi On Tue, Feb 14, 2017 at 3:02 PM, Raffi Holzer wrote: > Hi Dave, > When we were talking about auto formatting we were actually referring to a > single button press doing all of these things to a large block of text. The > use case here would be if you receive a large illegible query and paste

Re: [pgadmin-hackers] Autoformatting

2017-02-14 Thread Raffi Holzer
Hi Dave, When we were talking about auto formatting we were actually referring to a single button press doing all of these things to a large block of text. The use case here would be if you receive a large illegible query and paste it into the query editor it would either automatically auto-format

Re: [pgadmin-hackers] Autoformatting

2017-02-14 Thread Dave Page
Hi On Mon, Feb 13, 2017 at 9:35 PM, Raffi Holzer wrote: > Hi Hackers, > We are looking into auto formatting SQL text in the SQL editor. However, > some users have expressed that this can be done in different ways. Are there > preferences in this community fo rhow autoformatting should be done?

[pgadmin-hackers] Autoformatting

2017-02-13 Thread Raffi Holzer
Hi Hackers, We are looking into auto formatting SQL text in the SQL editor. However, some users have expressed that this can be done in different ways. Are there preferences in this community fo rhow autoformatting should be done? -- Raffi Holzer Product Manager Pivotal Labs