jakob / jakob/Postico

Feature request: block travel

Open
#644 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

Implementing block traveling for the `SQL Query` editor of **Postico** would be a really nice feature, considering you've already implemented `Execute Selection`.

## What is the feature?
By pressing `Option + Up` or `Option + Down`, the cursor navigates to the previous/next block. By holding `Shift`, it selects the block.

This is similar to the [Atom plugin](https://atom.io/packages/block-travel), also ported to [VS Code](https://marketplace.visualstudio.com/items?itemName=sashaweiss.block-travel)

I think this would be a great addition to the `Execute Selection` functionality, especially when trying out different things in the editor.

Keep up the good work on the product!

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 in Postico's SQL Query editor and review the existing Execute Selection functionality. Compare the requested Option+Up/Down navigation and Shift-selection behavior with the linked Atom and VS Code implementations. Done means the cursor moves between SQL blocks and holding Shift selects the block in both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.