microsoft / microsoft/vscode-pgsql
Add ability to programmatically open a connection string
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Description
Describe the bug
- Currently I open my existing Postgres client with
open postgresql://postgres:password@127.0.0.1:5434/db
To Reproduce
Steps to reproduce the behavior:
- Run
code postgresql://postgres:password@127.0.0.1:5434/dbfrom the CLI - See that a new file is created with name
postgresql://postgres:password@127.0.0.1:5434/db
Expected behavior
Expect the Postgres extension to open and connect to the DB
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code version
Version: 1.100.2 macOS
Extension Logs
See: https://github.com/microsoft/vscode-pgsql?tab=readme-ov-file#usage-and-feedback
Add any other context about the problem here.
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.
Research direction
Start with the extension's handling of the code postgresql://... CLI invocation and compare it with the documented usage and feedback instructions. Trace why the connection string becomes a file name; done means the command opens the PostgreSQL extension and connects to the specified database instead.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, vscode
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100