for Sublime Text 2
This is a Sublime Text 2 package adds language definitions for syntax highlighting of Unity3d C# and JavaScript
Once installed you can select view -> syntax -> Unity3D and then Unity C# or Unity JavaScript. You may also want to select the "Open all with current extension" option so that Sublime Text 2 will always use Unity syntax highlighting when viewing C# or JavaScript Files.
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text 2 before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select Unity3D Syntax Highlighting when the list appears.
Package Control will automatically keep Git up to date with the latest version.
If you have some problems or improvements with it, contact me via GitHub.