pgadmin-org / pgadmin-org/pgadmin4

add context menus "Copy name" and "Copy FQN"

Open
#7,198 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the solution you'd like

I would like to have the "Copy name" and "Copy FQN" (fully qualified name) for objects in context menu of the navigation panel.

Describe alternatives you've considered

Drag'n'drop can be used to copy FQN into query panel, but cannot use it to copy to others IDE like NetBeans, VS Code, VIM, Emacs, etc.

Additional context

image

The two options would be shown in the menu above.
In this example, "Copy name" will put "fornecedorcnpj" in clipboard. The "Copy FQN" will put "myschema.mytable.fornecedorcnpj" into clipboard.

Contributor guide

Open the contributing guide

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 at the navigation panel's object context menu and trace how menu actions are defined and how clipboard operations are handled. The work is done when objects offer “Copy name” and “Copy FQN”, placing the requested object name or fully qualified name in the clipboard for use in other applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
databases, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.