Skip to content

feature request: syntax highlighting for the .config file in vykar-gui #125

@goebbe

Description

@goebbe

Using and testing Vykar for a couple of weeks now and I
have a growing config.yaml with

  • many comments
  • several repos
  • several hooks (some span several lines)
  • exclude_patterns

Working with the config.ymal, syntax highlighting (yaml) would be a helpful feature:

  • It is easier to separate comments from actual configs
  • It helps to avoid errors (brackets not closed, closing quotation marks missing)
  • It helps to orientate in large config files

The following Rust project might be helpful and aims to facilitate the use of syntax highlighting:
https://github.com/trishume/syntect
I did not check if this would be compatible with vykar-gui.

Edit: Apparently slint is aiming for a rich text editor: slint-ui/slint#2723 (comment)
However, this is not fully implemented, yet.

The following screenshot shows Vykar-gui and the xed-editor, next to each other.
Both look at the same config.yaml:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions