jakob / jakob/Postico

Collapse/Expand range of query

Open
#880 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
485
Forks
8
PR merge metrics
No merged PRs in 30d

Description

In most IDE's you have the possibility to collapse/expand a range of your code. An function, if-query, etc. so that it's easier to read the complete file. It would be nice if this was also possible in Postico to collapse/expand a range of you SQL query. I've got some long queries of +200 lines, with some CTE's in it. It would be nice if I could collapse a CTE to more quickly navigate to other parts of the query.

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

No file or test is named. Start by locating Postico's SQL query editor and its handling of query text, then determine how ranges such as CTEs could be identified and collapsed. Done means long SQL queries support collapsing and expanding selected ranges for navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sql
Domain
database, desktop
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.