Thread: Wish List Request: Tabbed SQL Query Window
<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 />
On Tue, Jun 24, 2008 at 4:17 AM, Ryan Daniels <<a href="mailto:ryan.daniels@gmail.com">ryan.daniels@gmail.com</a>>wrote:<br /><div class="gmail_quote"><blockquote class="gmail_quote"style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br />Iwould like to request that the SQL query window have tabs so that you can have multiple queries/files open in the samewindow.<br /><br /></blockquote></div><br />Agreed. That would be a nice feature to see in the next release.<br /> Andalso an option/setting to filter server context messages.<br />Doable or not, I want to thank the developers for theirgreat work on this project!<br /><br />Regards,<br />Fernando.<br />
Fernando Hevia wrote: <blockquote cite="mid:b9e2597c0806241438w5aab4a19l420af580a6f64a4f@mail.gmail.com" type="cite">OnTue, Jun 24, 2008 at 4:17 AM, Ryan Daniels <<a href="mailto:ryan.daniels@gmail.com" moz-do-not-send="true">ryan.daniels@gmail.com</a>>wrote:<br /><div class="gmail_quote"><blockquote class="gmail_quote"style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br />I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in the samewindow.<br /><br /></blockquote></div><br /> Agreed. That would be a nice feature to see in the next release.<br /> Andalso an option/setting to filter server context messages.<br /> Doable or not, I want to thank the developers for theirgreat work on this project!<br /><br /> Regards,<br /> Fernando.<br /></blockquote> I would also like to see a moregraceful handling of disconnects. <br /><br /> Once of my servers I connect to through a firewall. The firewall connectioneventually times out causing a disconnect that pgadmin doesn't handle very happily. Would be nice for it to justreconnect transparently without closing all of the tree, popping up several errors, etc. <br /><br /> Or just providea keep-alive option.<br /><br /><pre class="moz-signature" cols="72">-- Chris St Denis Programmer SmarttNet (<a class="moz-txt-link-abbreviated" href="http://www.smartt.com">www.smartt.com</a>) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" </pre>
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
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
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
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
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
<br />Dave,<br /><br />What if the per-text-coltrol tabs were at the bottom of the region, and the per-file tabs were atthe top?<br /><br />Ryan<br /><br /><div class="gmail_quote">On Thu, Jun 26, 2008 at 4:07 AM, Dave Page <<a href="mailto:dpage@pgadmin.org">dpage@pgadmin.org</a>>wrote:<br /><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Wed,Jun 25, 2008 at 11:09 PM, Guillaume Lelarge<br /> <<a href="mailto:guillaume@lelarge.info">guillaume@lelarge.info</a>>wrote:<br /> > Ryan Daniels a écrit :<br /> >><br/> >> I would like to request that the SQL query window have tabs so that you<br /> >> can have multiplequeries/files open in the same window.<br /> >><br /> ><br /> > I think it could be a great idea. Don'tknow if it's really feasible but I<br /> > like the idea.<br /><br /></div>Seems like it would be a lot of work.You'd need to seperate all the<br /> query code out into a seperate class that you could instantiate aas<br /> requiredon new tabs, and modify all the window options such that they<br /> affect all tabs, or work with just the selectedone as appropriate<br /> (think 'Show line endings' vs. 'EOL Mode).<br /><br /> It would also look pretty weird aswe will be adding tabs to the text<br /> control soon anyway to handle the query builder, so we'll end up with<br /> twosets of tabs on a tabset.<br /><br /> I'm happy to review patches though if someone wants to put some effort into it.<br/><font color="#888888"><br /> --<br /> Dave Page<br /> EnterpriseDB UK: <a href="http://www.enterprisedb.com" target="_blank">http://www.enterprisedb.com</a><br/></font></blockquote></div><br />
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