Postico icon indicating copy to clipboard operation
Postico copied to clipboard

Preserve layout of SQL editor between connections

Open brewingcode opened this issue 3 years ago • 2 comments

Would it be possible to preserve the position of the horizontal divider in the query editor between connections? I always drag the divider to show more of the query text, rather than the results, but every time I close the window for a connection (or restart Postico), the query editor re-opens with the default layout, and I have to re-drag the divider every time.

image

Repro:

  1. Open a connection to any database from the initial favorites menu
  2. ⌘⇧T to open query editor
  3. Drag the horizontal divider between the upper query text and the lower query results
  4. ⌘w to close the current connection (or restart Postico)
  5. Open the same connection again
  6. ⌘⇧T to open query editor
  7. The horizontal divider has reset to default

brewingcode avatar Nov 04 '21 20:11 brewingcode

We've recently fixed this issue in Postico 2, but we should probably fix it in 1.5 as well.

jakob avatar Nov 04 '21 20:11 jakob

I didn't even know Postico 2 was a thing, but I just grabbed it, and this is indeed fixed!

...and it has sql formatting built-in ...and support for FUNCTIONS holy crap

I am so sold. Thanks!

brewingcode avatar Nov 16 '21 20:11 brewingcode