Skip to content

Language support for GYB #1455

@fpseverino

Description

@fpseverino

Is your feature request related to a problem? Please describe.
When working with .swift.gyb files you need to choose whether to view them as basic text files with no syntax highlighting, or as Swift files, with reasonable syntax highlighting but with many SourceKit-LSP errors.

Describe the solution you'd like
Even just basic TextMate syntax highlighting that extends Swift's and clearly highlights GYB blocks, without any LSP functionality, would be helpful. Also, it would be really nice to add a file icon for GYB that is slightly different than the normal Swift one.

Describe alternatives you've considered
Viewing GYB as basic text files with no syntax highlighting, or as Swift files, with reasonable syntax highlighting but with many SourceKit-LSP errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions