microsoft / microsoft/vscode-pgsql

Allow keyboard shortcuts to be based on connection type not just editorLangId

Open
#251 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
395
Forks
33
Avg merge
1h 46m
Merged PRs (30d)
3

Description

I had requested this in a separate issue and asked to move it to new new ticket.

I would still like to request allowing the same keyboard shortcuts for
actions across server types. After years of F5 meaning execute query in
SSMS, I would like to set F5 as my execute query keyboard shortcut when
connected to either server type. And the correct "Execute Query" would run.

Image

I have this setup, but I see the following if I'm connected to a Postgres
database and hit F5:

Image

Should I open a separate ticket for this?

Thanks again!

Mike

Originally posted by @schallm in #67

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how keyboard shortcuts are currently resolved from editorLangId and how the active PostgreSQL connection type is exposed. Define the expected behavior for the same shortcut across server types, including which Execute Query action should run, then verify it with the existing shortcut handling and connection scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, vscode
Domain
databases, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.