scriptcs-sublime icon indicating copy to clipboard operation
scriptcs-sublime copied to clipboard

Syntax highlighting for C# Scripts

Open follesoe opened this issue 12 years ago • 0 comments

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

follesoe avatar Mar 06 '13 13:03 follesoe