jakob / jakob/Postico

the syntax highlighter should colour schemas, tables, columns, types, functions differently

Open
#265 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
485
Forks
8
PR merge metrics
No merged PRs in 30d

Description

This would make parsing what is going on in a query much easier. While it is not a problem when writing queries in the editor, where one can follow ones own indentation rules and aliasing/naming conventions, it is very hard to make sense of view definitions which don't preserve these. Most of the view definitions end up being mostly black text with some blue keywords.

![view_definition](https://cloud.githubusercontent.com/assets/384993/18316271/41455f5c-751a-11e6-9b8b-a9aef96da9ec.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the screenshot with a view definition and tracing the SQL syntax-highlighting entry point. Identify how identifiers are currently classified, then verify that schemas, tables, columns, types, and functions receive distinct highlighting in view definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, tooling
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.