microsoft / microsoft/vscode-pgsql

Tree View not showing the table / index names

Open
#294 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

The tree view is really nice to understand the scans, joins, and rows, but without the name of the tables / indexes I can't use it without constantly switching to other views:

Image

In this example, one SeqScan is flagged as critical, but we don't know which table is scanned.

Expected behavior

I think we need at least the table or index name for the scan nodes (with the alias). It can be large and make the node less readable, but for the scans, which are always leaves in the tree, it could be displayed below the node.

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 locating the tree view rendering for scan nodes and checking how PostgreSQL scan metadata is represented. The issue is done when scan nodes display the table or index name, including its alias, while keeping the tree usable; verify the result against the reported SeqScan example.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, vscode
Domain
database, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.