TablePlus icon indicating copy to clipboard operation
TablePlus copied to clipboard

Feature request: to name SQL tabs according to "save as..." name

Open BFJonk opened this issue 4 years ago • 4 comments

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): postgres 11.5

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 272

  3. The steps to reproduce this issue: n/a

Can you put meaningful titles on the SQL tabs, in stead of "SQL Query" , "SQL Query" , "SQL Query" ? Please put the 'save as...' name in there.

afbeelding

BFJonk avatar Oct 30 '19 07:10 BFJonk

You can change the tab name by right-click -> Rename tab. TablePlus will also use the favorite name if you open a Favorite file from the favorite section.

huyphams avatar Oct 30 '19 15:10 huyphams

It would be really nice if the name can be changed as a result of saving a session as a 'favorite file' as well.

Otherwise my workaround would be (bit cumbersome):

  1. ⌘⇧S : save session
  2. close tab
  3. ⌘O : open sql

Now the tab has a recognisable name

BFJonk avatar Nov 05 '19 10:11 BFJonk

I recently learned that you actually browse folders with SQL files.... 😳.

  1. Click 'Queries'
  2. Left click in pane
  3. click 'New ...' --> 'add folder to Queries'

afbeelding

This alleviates some of the unease I had with the naming of session-tabs (Still open tabs disappear and when you open new SQL windows the name of the tab has gone after closing and reopening the program).

BFJonk avatar Feb 18 '20 08:02 BFJonk

When I create/save a new file from a tab (⌘⇧S), I want the tab name to change to the name of the file. Currently it remains unchanged.

Also I want the list of files in the "Queries" panel to refresh to show the file I just created. Currently it does not.

CrazyTim avatar Jun 09 '22 22:06 CrazyTim