Created
January 21, 2015 00:59
-
-
Save nicetrysean/9b5446bbc383d1c7fd91 to your computer and use it in GitHub Desktop.
Unity 3D Apply Syntax settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// If you want exceptions reraised so you can see them in the console, change this to true. | |
"reraise_exceptions": false, | |
// If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax to use. | |
// The format is exactly the same as "name" in the rules below. For example, if you want to have a new file use | |
// JavaScript syntax, set new_file_syntax to 'JavaScript'. | |
"new_file_syntax": false, | |
// Put your custom syntax rules here: | |
"syntaxes": [ | |
{ | |
// Unity 3D C# format detection. | |
"name": "Unity3D/UnityC#", | |
"match": "all", | |
"rules": [ | |
{"file_name": ".*\\.cs$"}, | |
{"contains": "using UnityEngine;\n"} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment