Обсуждение: Wish List Request: Tabbed SQL Query Window

Поиск
Список
Период
Сортировка

Wish List Request: Tabbed SQL Query Window

От
"Ryan Daniels"
Дата:
<br />I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in
thesame window.<br /><br />Thanks,<br />Ryan Daniels<br /><br /> 

Re: Wish List Request: Tabbed SQL Query Window

От
"Fernando Hevia"
Дата:
On Tue, Jun 24, 2008 at 4:17 AM, Ryan Daniels <ryan.daniels@gmail.com> wrote:

I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in the same window.


Agreed. That would be a nice feature to see in the next release.
And also an option/setting to filter server context messages.
Doable or not, I want to thank the developers for their great work on this project!

Regards,
Fernando.

Re: Wish List Request: Tabbed SQL Query Window

От
Chris St Denis
Дата:
Fernando Hevia wrote:
On Tue, Jun 24, 2008 at 4:17 AM, Ryan Daniels <ryan.daniels@gmail.com> wrote:

I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in the same window.


Agreed. That would be a nice feature to see in the next release.
And also an option/setting to filter server context messages.
Doable or not, I want to thank the developers for their great work on this project!

Regards,
Fernando.
I would also like to see a more graceful handling of disconnects.

Once of my servers I connect to through a firewall. The firewall connection eventually times out causing a disconnect that pgadmin doesn't handle very happily. Would be nice for it to just reconnect transparently without closing all of the tree, popping up several errors, etc.

Or just provide a keep-alive option.

-- 
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
-------------------------------------------
"Smart Internet Solutions For Businesses" 

Re: Wish List Request: Tabbed SQL Query Window

От
Guillaume Lelarge
Дата:
Ryan Daniels a écrit :
> 
> I would like to request that the SQL query window have tabs so that you 
> can have multiple queries/files open in the same window.
> 

I think it could be a great idea. Don't know if it's really feasible but 
I like the idea.


-- 
Guillaume. http://www.postgresqlfr.org http://dalibo.com


Re: Wish List Request: Tabbed SQL Query Window

От
"Dave Page"
Дата:
On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Ryan Daniels a écrit :
>>
>> I would like to request that the SQL query window have tabs so that you
>> can have multiple queries/files open in the same window.
>>
>
> I think it could be a great idea. Don't know if it's really feasible but I
> like the idea.

Seems like it would be a lot of work. You'd need to seperate all the
query code out into a seperate class that you could instantiate aas
required on new tabs, and modify all the window options such that they
affect all tabs, or work with just the selected one as appropriate
(think 'Show line endings' vs. 'EOL Mode).

It would also look pretty weird as we will be adding tabs to the text
control soon anyway to handle the query builder, so we'll end up with
two sets of tabs on a tabset.

I'm happy to review patches though if someone wants to put some effort into it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


Re: Wish List Request: Tabbed SQL Query Window

От
"Ryan Daniels"
Дата:
 
Most of the query writing software I have worked with is tab-based. This seems like a natural point in the evolution of pgAdmin. :-)
 
On 6/26/08, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Ryan Daniels a écrit :
>>
>> I would like to request that the SQL query window have tabs so that you
>> can have multiple queries/files open in the same window.
>>
>
> I think it could be a great idea. Don't know if it's really feasible but I
> like the idea.

Seems like it would be a lot of work. You'd need to seperate all the
query code out into a seperate class that you could instantiate aas
required on new tabs, and modify all the window options such that they
affect all tabs, or work with just the selected one as appropriate
(think 'Show line endings' vs. 'EOL Mode).

It would also look pretty weird as we will be adding tabs to the text
control soon anyway to handle the query builder, so we'll end up with
two sets of tabs on a tabset.

I'm happy to review patches though if someone wants to put some effort into it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

Re: Wish List Request: Tabbed SQL Query Window

От
Guillaume Lelarge
Дата:
Dave Page a écrit :
> On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> Ryan Daniels a écrit :
>>> I would like to request that the SQL query window have tabs so that you
>>> can have multiple queries/files open in the same window.
>>>
>> I think it could be a great idea. Don't know if it's really feasible but I
>> like the idea.
> 
> Seems like it would be a lot of work. You'd need to seperate all the
> query code out into a seperate class that you could instantiate aas
> required on new tabs, and modify all the window options such that they
> affect all tabs, or work with just the selected one as appropriate
> (think 'Show line endings' vs. 'EOL Mode).
> 
> It would also look pretty weird as we will be adding tabs to the text
> control soon anyway to handle the query builder, so we'll end up with
> two sets of tabs on a tabset.
> 

I wasn't aware of this (adding the tab on the text control). This would 
be enough.


-- 
Guillaume. http://www.postgresqlfr.org http://dalibo.com


Re: Wish List Request: Tabbed SQL Query Window

От
"Dave Page"
Дата:
On Thu, Jun 26, 2008 at 3:30 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Dave Page a écrit :
>>
>> On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
>> <guillaume@lelarge.info> wrote:
>>>
>>> Ryan Daniels a écrit :
>>>>
>>>> I would like to request that the SQL query window have tabs so that you
>>>> can have multiple queries/files open in the same window.
>>>>
>>> I think it could be a great idea. Don't know if it's really feasible but
>>> I
>>> like the idea.
>>
>> Seems like it would be a lot of work. You'd need to seperate all the
>> query code out into a seperate class that you could instantiate aas
>> required on new tabs, and modify all the window options such that they
>> affect all tabs, or work with just the selected one as appropriate
>> (think 'Show line endings' vs. 'EOL Mode).
>>
>> It would also look pretty weird as we will be adding tabs to the text
>> control soon anyway to handle the query builder, so we'll end up with
>> two sets of tabs on a tabset.
>>
>
> I wasn't aware of this (adding the tab on the text control). This would be
> enough.

You misunderstand - there will be two tabs; the text control and the
query builder.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


Re: Wish List Request: Tabbed SQL Query Window

От
"Ryan Daniels"
Дата:

Dave,

What if the per-text-coltrol tabs were at the bottom of the region, and the per-file tabs were at the top?

Ryan

On Thu, Jun 26, 2008 at 4:07 AM, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Ryan Daniels a écrit :
>>
>> I would like to request that the SQL query window have tabs so that you
>> can have multiple queries/files open in the same window.
>>
>
> I think it could be a great idea. Don't know if it's really feasible but I
> like the idea.

Seems like it would be a lot of work. You'd need to seperate all the
query code out into a seperate class that you could instantiate aas
required on new tabs, and modify all the window options such that they
affect all tabs, or work with just the selected one as appropriate
(think 'Show line endings' vs. 'EOL Mode).

It would also look pretty weird as we will be adding tabs to the text
control soon anyway to handle the query builder, so we'll end up with
two sets of tabs on a tabset.

I'm happy to review patches though if someone wants to put some effort into it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

Re: Wish List Request: Tabbed SQL Query Window

От
"Dave Page"
Дата:
On Sun, Jun 29, 2008 at 6:06 PM, Ryan Daniels <ryan.daniels@gmail.com> wrote:
>
> Dave,
>
> What if the per-text-coltrol tabs were at the bottom of the region, and the
> per-file tabs were at the top?

Not all OS's support that iirc (for example, Windows XP under uxtheme
if memory serves), but I don't think that's a showstopper - just
something to be aware of as it may be confusing without some
additional redesign.

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com