Skip to content

Editor [MVP]: SQL syntax highlighting в QueryaCodeEditor #49

@ZhuchkaTriplesix

Description

@ZhuchkaTriplesix

Summary

MVP: синтаксическая подсветка SQL в QueryaCodeEditor на основе решения из spike #48.

Scope

Реализация (если выбран syntax_highlight)

await Highlighter.initialize(['sql']);
final theme = HighlighterTheme.fromQueryaEditorTheme(editorTheme);
final highlighter = Highlighter(language: 'sql', theme: theme);

Acceptance criteria

  • SELECT, strings, -- comments, 'quoted' различимы визуально
  • Смена workbench/editor theme обновляет цвета без restart
  • Нет регрессии: ввод, selection, placeholder, font size setting
  • Widget test: TextSpan содержит >1 style для sample SQL

Зависимости

Оценка

~3–4 дня (после spike)

Metadata

Metadata

Assignees

No one assigned

    Labels

    editorCode/SQL editorenhancementNew feature or requestthemeTheming, colors, VS Code themes

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions