2016-02-02 12:08 GMT+01:00 Dave Page <dp...@pgadmin.org>:

> On Tue, Feb 2, 2016 at 3:17 AM, Sergey Busel <sbu...@gmail.com> wrote:
> > Patch file for multiple SQL tabs is attached.
>
> Thanks - I see how this could be useful. I think it needs a little
> work before it could be included:
>
> - Unused code should be removed, not commented out.
> - I think the tab names should reflect the file name (where there is
> one) - e.g. "Query 2" should become "foo.sql" (without the path) if
> you save the query.
> - There should be some way for the user to see which tab the results
> are related to. Maybe the output pane title should read "Output Pane
> (Query 2)" or "Output Pane (foo.sql)" as appropriate? I'm not sure if
> that will do weird things with the perspective though - they used to
> include panel titles.
> - Instead of the "Close Tab" menu option, perhaps an X button should
> be added to the right-hand end of the active tab?
>
>
I haven't tested this but I agree with the above comments. Regarding the
results pane I assume the output window, results window, query time, etc
all reflect the current SQL query tab? So if you have two tabs with
different queries you can switch between them and see their result window.

-- john

Reply via email to