Re: Assistance Required: Code Folding and Line Numbers Not Appearing in pgAdmin 4 (v9.8)
От | Aditya Toshniwal |
---|---|
Тема | Re: Assistance Required: Code Folding and Line Numbers Not Appearing in pgAdmin 4 (v9.8) |
Дата | |
Msg-id | CAM9w-_mGnCSsKXoS7OkqXYsVFMewNKebNe_RBr0zAZXqpsvvqg@mail.gmail.com обсуждение исходный текст |
Список | pgadmin-support |
On Thu, Oct 2, 2025 at 1:38 AM 'Mas Kinato' via pgAdmin Security <security@pgadmin.org> wrote:
Dear pgAdmin Support Team,
I am reaching out regarding an issue we are encountering with code folding in pgAdmin 4 (version 9.8).
Issue Summary:
• Code folding is enabled under Preferences → Query Tool → Editor (the “Code folding” option is toggled on).
• However, fold carets/triangles are not appearing for foldable regions (e.g., WITH (…) CTEs or VALUES (…) blocks).
• We only see the caret when wrapping a block in BEGIN…END;, but that makes the query invalid in SQL execution.
• Additionally, the “Line numbers” option (expected under Preferences → Query Tool → Display) is missing entirely in this version of pgAdmin 4, which prevents us from exposing the gutter where fold carets normally appear.
Steps Taken So Far:
- Verified that Code folding is enabled.
- Tried different themes (Default, Light, Dark) to check if the caret was hidden due to UI visibility.
- Restarted Query Tool after preferences changes.
- Tested simple foldable examples (e.g., WITH test AS (VALUES (1), (2), (3)) SELECT * FROM test;) — no fold caret appeared.
- Confirmed with multiple users that the Line numbers preference is not visible in our pgAdmin 4 v9.8 builds.
Environment:
• pgAdmin 4 v9.8
• Affected across multiple installations
• OS: [insert OS details if you want to include, e.g., Windows 11 / macOS Sonoma]
Request:
Could you please confirm:
- Whether the Line numbers option has been relocated or removed in pgAdmin 4 v9.8?
- If this is a known regression/bug affecting code folding in CTEs and parentheses blocks.
- Recommended steps or patches to restore proper code folding (without relying on BEGIN…END;).
We rely on folding for large SQL queries, and currently this limitation makes navigation difficult. If this requires escalation, I’d be grateful if you could provide guidance or log it as a support issue with the pgAdmin development team.
Thank you for your assistance.
Best regards,Mas
Thanks,
Aditya Toshniwal
"Don't Complain about Heat, Plant a TREE"
В списке pgadmin-support по дате отправления: