Skip to content

Syntax highlighting for C# Scripts #1

@follesoe

Description

@follesoe

Sublime Text ships with syntax highlighting for C#. However, C# script has a slightly different syntax. For instance is it allowed to write code not belonging to a explicit class or method. This will prevent Sublime Text from correctly highlighting the code (see screenshot).

I think it would make sense to use the official Sublime Text C# language definitions as a starting-point, and extend these to with new syntax rules. Preferably with as few changes as possible.

syntaxt-highlight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions