[Feature Request] Explicit Connection Management Actions (Connect / Reconnect / Disconnect)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- postgresql, vscode
- Domain
- databases, developer-experience
Research direction
No source files, tests, or entry points are identified in the issue. Start by locating the extension's existing connection-state handling and commands, then define how Connect, Reconnect/Invalidate, and Disconnect should behave across the connection menu and Command Palette. Done should include explicit actions and clear connected, disconnected, and stale states.
Written by the indexing model from the issue text.
Description
Feature Description
I’d like to request more explicit connection management actions in the vscode-pgsql extension for Visual Studio Code, including dedicated options for Connect, Reconnect (Invalidate), and Disconnect.
Proposed Capabilities
- Explicit Connect action to manually establish a database connection.
- Reconnect / Invalidate Connection option to:
- Refresh stale or expired connections
- Clear cached sessions or credentials
- Disconnect action to explicitly close an active connection.
- Clear visual indicators for connection state:
- Connected
- Disconnected
- Stale / invalid
- Access to these actions from:
- Connection context menu
- Toolbar or Command Palette
- Optional keyboard shortcuts for faster workflows.
Problem & Motivation
Currently, connection state handling in vscode-pgsql can feel implicit or unclear. When credentials expire, VPNs change, or sessions become stale, there is no clear way to explicitly invalidate and reconnect a connection.
This can lead to:
- Confusing connection errors
- Queries failing due to stale sessions
- Recreating connections unnecessarily
Use Case
- Switching between local, staging, and production environments
- Working with VPNs or unstable networks
- Refreshing credentials or tokens
- Managing multiple active connections safely
Request
Please consider adding explicit Connect, Reconnect (Invalidate), and Disconnect actions to improve clarity, reliability, and overall user experience in vscode-pgsql.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-pgsql
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/vscode-pgsql#190 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/vscode-pgsql#307 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
microsoft/vscode-pgsql#306 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
microsoft/vscode-pgsql#305 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/vscode-pgsql#302 ·
All issues in microsoft/vscode-pgsql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
antlr/grammars-v4#5014 · 1 comment ·
-
comp-query-execution fuzz
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121303 · 3 comments ·