influxdata / influxdata/influxdb

Strange SQL syntax highlighting

Open
#26,274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

## Describe Development Experience Issue:

Issue coming from community user here: https://community.influxdata.com/t/strange-sql-syntax-highlighting/56980

### Steps to reproduce:
> Here, it highlights the first word GROUP in a GROUP BY expression rather than both GROUP and BY.

![Image](https://github.com/user-attachments/assets/6d16794a-c050-40df-b74c-6b9ec2ba76d5)

Contributor guide

Open the contributing guide

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 with the reproduction described in the issue and inspect the SQL syntax-highlighting entry point to determine why GROUP BY highlights only GROUP. Confirm the fix by reproducing the example and verifying that both GROUP and BY receive the expected highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.