vscode-postgres icon indicating copy to clipboard operation
vscode-postgres copied to clipboard

Only show "Select Postgres Server" in status bar when relevant

Open vor0nwe opened this issue 7 years ago • 2 comments

Currently, with the extension installed, the status bar always shows the option to [ Select Postgres Server ], even when I’m editing a Python file, or an XML one. When I’m not doing anything with Postgres, it’s useless and eats up precious status bar real estate.

Would it be possible to only show that when the current file is a new file, or if the selected language is SQL or Postgres?

vor0nwe avatar Jan 15 '19 15:01 vor0nwe

It might be possible, but it would also limit the ability to highlight the query string you were building right in your code and right click to run it.

Borvik avatar Jan 23 '19 10:01 Borvik

I second this. I only use this extension for syntax highlighting. I do not wish to see the "Select Postgres Server" link in the status bar all the time.

macu avatar Jan 10 '22 17:01 macu