microsoft / microsoft/vscode-pgsql

[Enhancement] Add more context menu options

Open
#302 0 comments 0 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

  1. For near every object it would be convenient to have "Script As Drop and Create" menu item
  2. Constraints objects missing "Script As Create"
  3. It would be nice to "Script As Alter" for columns
  4. Menu items for triggers "Disable trigger" / "Enable trigger"

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 from the PostgreSQL extension's context-menu commands for database objects and map which object types already expose scripting actions. Check how constraints, columns, triggers, and other objects register their menu items. Done means the requested Script As Drop and Create, Script As Create, Script As Alter, and trigger enable/disable options are available where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, vscode
Domain
database, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.