pgadmin-org / pgadmin-org/pgadmin4

Support for Opening Multiple SQL Files Simultaneously

Open
#8,243 1 comment 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

It would be highly beneficial if pgAdmin could support opening multiple SQL files at once in the Query Tool. Currently, users have to open each file individually, which can be time-consuming when working with several files. A feature allowing users to select and load multiple SQL files in separate tabs or within the same session would greatly enhance productivity, especially for those handling complex workflows or large projects.

Proposed Solution:

Add a "Multi-File Open" option in the Query Tool, allowing users to select multiple files simultaneously.
Each file could open in a separate tab automatically.
Alternatively, provide an option to combine the contents of selected files into a single tab.

Use Case:
For database administrators and developers who need to execute or edit several SQL scripts consecutively, this feature would save significant time and streamline the workflow.

Thank you for considering this feature request!

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 by reviewing the Query Tool's current single-file opening behavior. Define whether multi-file selection should create separate tabs, combine files into one tab, or support both, then verify that the chosen behavior supports opening and editing several SQL scripts in one session.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.